Module tx
Expand description
Transactions.
Modules§
- mode_
info - Nested message and enum types in
ModeInfo. - service_
client - Generated client implementations.
- service_
server - Generated server implementations.
- signing
- Transaction signing support.
Structs§
- Auth
Info - AuthInfo describes the fee and signer modes that are used to sign a transaction.
- AuxSigner
Data - AuxSignerData is the intermediary format that an auxiliary signer (e.g. a tipper) builds and sends to the fee payer (who will build and broadcast the actual tx). AuxSignerData is not a valid tx in itself, and will be rejected by the node if sent directly as-is.
- Broadcast
TxRequest - BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.
- Broadcast
TxResponse - BroadcastTxResponse is the response type for the Service.BroadcastTx method.
- Fee
- Fee includes the amount of coins paid in fees and the maximum gas to be used by the transaction. The ratio yields an effective “gasprice”, which must be above some miminum to be accepted into the mempool.
- GetBlock
With TxsRequest - GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs RPC method.
- GetBlock
With TxsResponse - GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method.
- GetTx
Request - GetTxRequest is the request type for the Service.GetTx RPC method.
- GetTx
Response - GetTxResponse is the response type for the Service.GetTx method.
- GetTxs
Event Request - GetTxsEventRequest is the request type for the Service.TxsByEvents RPC method.
- GetTxs
Event Response - GetTxsEventResponse is the response type for the Service.TxsByEvents RPC method.
- Mode
Info - ModeInfo describes the signing mode of a single or nested multisig signer.
- SignDoc
- SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT.
- Sign
DocDirect Aux - SignDocDirectAux is the type used for generating sign bytes for SIGN_MODE_DIRECT_AUX.
- Signer
Info - SignerInfo describes the public key and signing mode of a single top-level signer.
- Simulate
Request - SimulateRequest is the request type for the Service.Simulate RPC method.
- Simulate
Response - SimulateResponse is the response type for the Service.SimulateRPC method.
- Tip
- Tip is the tip used for meta-transactions.
- Tx
- Tx is the standard type used for broadcasting transactions.
- TxBody
- TxBody is the body of a transaction that all signers sign over.
- TxDecode
Amino Request - TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino RPC method.
- TxDecode
Amino Response - TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino RPC method.
- TxDecode
Request - TxDecodeRequest is the request type for the Service.TxDecode RPC method.
- TxDecode
Response - TxDecodeResponse is the response type for the Service.TxDecode method.
- TxEncode
Amino Request - TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method.
- TxEncode
Amino Response - TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino RPC method.
- TxEncode
Request - TxEncodeRequest is the request type for the Service.TxEncode RPC method.
- TxEncode
Response - TxEncodeResponse is the response type for the Service.TxEncode method.
- TxRaw
- TxRaw is a variant of Tx that pins the signer’s exact binary representation
of body and auth_info. This is used for signing, broadcasting and
verification. The binary
serialize(tx: TxRaw)is stored in Tendermint and the hashsha256(serialize(tx: TxRaw))becomes the “txhash”, commonly used as the transaction ID.
Enums§
- Broadcast
Mode - BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.
- OrderBy
- OrderBy defines the sorting order