evmos.proto.autogen.py.cosmos.tx.v1beta1

Classes

AuthInfo(signer_infos, fee, tip)

AuthInfo describes the fee and signer modes that are used to sign a transaction.

AuxSignerData(address, sign_doc, mode, sig)

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).

BroadcastMode(*values)

BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.

BroadcastTxRequest(tx_bytes, mode)

BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.

BroadcastTxResponse(tx_response)

BroadcastTxResponse is the response type for the Service.BroadcastTx method.

Fee(amount, gas_limit, payer, granter)

Fee includes the amount of coins paid in fees and the maximum gas to be used by the transaction.

GetBlockWithTxsRequest(height, pagination)

GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs RPC method.

GetBlockWithTxsResponse(txs, block_id, ...)

GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method.

GetTxRequest(hash)

GetTxRequest is the request type for the Service.GetTx RPC method.

GetTxResponse(tx, tx_response)

GetTxResponse is the response type for the Service.GetTx method.

GetTxsEventRequest(events, pagination, ...)

GetTxsEventRequest is the request type for the Service.TxsByEvents RPC method.

GetTxsEventResponse(txs, tx_responses, ...)

GetTxsEventResponse is the response type for the Service.TxsByEvents RPC method.

ModeInfo(single, multi)

ModeInfo describes the signing mode of a single or nested multisig signer.

ModeInfoMulti(bitarray, mode_infos)

Multi is the mode info for a multisig public key

ModeInfoSingle(mode)

Single is the mode info for a single signer.

OrderBy(*values)

OrderBy defines the sorting order

ServiceBase()

ServiceStub(channel, *[, timeout, deadline, ...])

SignDoc(body_bytes, auth_info_bytes, ...)

SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT.

SignDocDirectAux(body_bytes, public_key, ...)

SignDocDirectAux is the type used for generating sign bytes for SIGN_MODE_DIRECT_AUX.

SignerInfo(public_key, mode_info, sequence)

SignerInfo describes the public key and signing mode of a single top-level signer.

SimulateRequest(tx, tx_bytes)

SimulateRequest is the request type for the Service.Simulate RPC method.

SimulateResponse(gas_info, result)

SimulateResponse is the response type for the Service.SimulateRPC method.

Tip(amount, tipper)

Tip is the tip used for meta-transactions.

Tx(body, auth_info, signatures)

Tx is the standard type used for broadcasting transactions.

TxBody(messages, memo, timeout_height, ...)

TxBody is the body of a transaction that all signers sign over.

TxDecodeAminoRequest(amino_binary)

TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino RPC method.

TxDecodeAminoResponse(amino_json)

TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino RPC method.

TxDecodeRequest(tx_bytes)

TxDecodeRequest is the request type for the Service.TxDecode RPC method.

TxDecodeResponse(tx)

TxDecodeResponse is the response type for the Service.TxDecode method.

TxEncodeAminoRequest(amino_json)

TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method.

TxEncodeAminoResponse(amino_binary)

TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino RPC method.

TxEncodeRequest(tx)

TxEncodeRequest is the request type for the Service.TxEncode RPC method.

TxEncodeResponse(tx_bytes)

TxEncodeResponse is the response type for the Service.TxEncode method.

TxRaw(body_bytes, auth_info_bytes, signatures)

TxRaw is a variant of Tx that pins the signer's exact binary representation of body and auth_info.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.AuthInfo(signer_infos: ~typing.List[~evmos.proto.autogen.py.cosmos.tx.v1beta1.SignerInfo] = <object object>, fee: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.Fee = <object object>, tip: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.Tip = <object object>)[source]

Bases: Message

AuthInfo describes the fee and signer modes that are used to sign a transaction.

fee: Fee = <object object>

Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.

signer_infos: List[SignerInfo] = <object object>

signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody’s messages. The first element is the primary signer and the one which pays the fee.

tip: Tip = <object object>

Tip is the optional tip used for transactions fees paid in another denom. This field is ignored if the chain didn’t enable tips, i.e. didn’t add the TipDecorator in its posthandler. .. versionadded:: 0.46

class evmos.proto.autogen.py.cosmos.tx.v1beta1.AuxSignerData(address: str = <object object>, sign_doc: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.SignDocDirectAux = <object object>, mode: ~evmos.proto.autogen.py.cosmos.tx.signing.v1beta1.SignMode = <object object>, sig: bytes = <object object>)[source]

Bases: Message

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. .. versionadded:: 0.46

address: str = <object object>

address is the bech32-encoded address of the auxiliary signer. If using AuxSignerData across different chains, the bech32 prefix of the target chain (where the final transaction is broadcasted) should be used.

mode: SignMode = <object object>

mode is the signing mode of the single signer.

sig: bytes = <object object>

sig is the signature of the sign doc.

sign_doc: SignDocDirectAux = <object object>

sign_doc is the SIGN_MODE_DIRECT_AUX sign doc that the auxiliary signer signs. Note: we use the same sign doc even if we’re signing with LEGACY_AMINO_JSON.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.BroadcastMode(*values)[source]

Bases: Enum

BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.

BROADCAST_MODE_ASYNC = 3

BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately.

BROADCAST_MODE_BLOCK = 1

use BROADCAST_MODE_SYNC instead, BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards. :type: DEPRECATED

BROADCAST_MODE_SYNC = 2

BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only.

BROADCAST_MODE_UNSPECIFIED = 0

zero-value for mode ordering

class evmos.proto.autogen.py.cosmos.tx.v1beta1.BroadcastTxRequest(tx_bytes: bytes = <object object>, mode: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.BroadcastMode = <object object>)[source]

Bases: Message

BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.

mode: BroadcastMode = <object object>
tx_bytes: bytes = <object object>

tx_bytes is the raw transaction.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.BroadcastTxResponse(tx_response: ~evmos.proto.autogen.py.cosmos.base.abci.v1beta1.TxResponse = <object object>)[source]

Bases: Message

BroadcastTxResponse is the response type for the Service.BroadcastTx method.

tx_response: TxResponse = <object object>

tx_response is the queried TxResponses.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.Fee(amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, gas_limit: int = <object object>, payer: str = <object object>, granter: str = <object object>)[source]

Bases: Message

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.

amount: List[Coin] = <object object>

amount is the amount of coins to be paid as a fee

gas_limit: int = <object object>

gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs

granter: str = <object object>

if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer’s own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail

payer: str = <object object>

if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does *not* change the ordering of required signers for the transaction.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.GetBlockWithTxsRequest(height: int = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs RPC method. .. versionadded:: 0.45.2

height: int = <object object>

height is the height of the block to query.

pagination: PageRequest = <object object>

pagination defines a pagination for the request.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.GetBlockWithTxsResponse(txs: ~typing.List[~evmos.proto.autogen.py.cosmos.tx.v1beta1.Tx] = <object object>, block_id: ~evmos.proto.autogen.py.tendermint.types.BlockId = <object object>, block: ~evmos.proto.autogen.py.tendermint.types.Block = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. .. versionadded:: 0.45.2

block: Block = <object object>
block_id: BlockId = <object object>
pagination: PageResponse = <object object>

pagination defines a pagination for the response.

txs: List[Tx] = <object object>

txs are the transactions in the block.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.GetTxRequest(hash: str = <object object>)[source]

Bases: Message

GetTxRequest is the request type for the Service.GetTx RPC method.

hash: str = <object object>

hash is the tx hash to query, encoded as a hex string.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.GetTxResponse(tx: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.Tx = <object object>, tx_response: ~evmos.proto.autogen.py.cosmos.base.abci.v1beta1.TxResponse = <object object>)[source]

Bases: Message

GetTxResponse is the response type for the Service.GetTx method.

tx: Tx = <object object>

tx is the queried transaction.

tx_response: TxResponse = <object object>

tx_response is the queried TxResponses.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.GetTxsEventRequest(events: ~typing.List[str] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>, order_by: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.OrderBy = <object object>, page: int = <object object>, limit: int = <object object>, query: str = <object object>)[source]

Bases: Message

GetTxsEventRequest is the request type for the Service.TxsByEvents RPC method.

events: List[str] = <object object>

events is the list of transaction event type. Deprecated post v0.47.x: use query instead, which should contain a valid events query.

limit: int = <object object>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

order_by: OrderBy = <object object>
page: int = <object object>

page is the page number to query, starts at 1. If not provided, will default to first page.

pagination: PageRequest = <object object>

pagination defines a pagination for the request. Deprecated post v0.46.x: use page and limit instead.

query: str = <object object>

query defines the transaction event query that is proxied to Tendermint’s TxSearch RPC method. The query must be valid. Since cosmos-sdk 0.50

class evmos.proto.autogen.py.cosmos.tx.v1beta1.GetTxsEventResponse(txs: ~typing.List[~evmos.proto.autogen.py.cosmos.tx.v1beta1.Tx] = <object object>, tx_responses: ~typing.List[~evmos.proto.autogen.py.cosmos.base.abci.v1beta1.TxResponse] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>, total: int = <object object>)[source]

Bases: Message

GetTxsEventResponse is the response type for the Service.TxsByEvents RPC method.

pagination: PageResponse = <object object>

pagination defines a pagination for the response. Deprecated post v0.46.x: use total instead.

total: int = <object object>

total is total number of results available

tx_responses: List[TxResponse] = <object object>

tx_responses is the list of queried TxResponses.

txs: List[Tx] = <object object>

txs is the list of queried transactions.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.ModeInfo(single: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.ModeInfoSingle = <object object>, multi: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.ModeInfoMulti = <object object>)[source]

Bases: Message

ModeInfo describes the signing mode of a single or nested multisig signer.

multi: ModeInfoMulti = <object object>

multi represents a nested multisig signer

single: ModeInfoSingle = <object object>

single represents a single signer

class evmos.proto.autogen.py.cosmos.tx.v1beta1.ModeInfoMulti(bitarray: ~evmos.proto.autogen.py.cosmos.crypto.multisig.v1beta1.CompactBitArray = <object object>, mode_infos: ~typing.List[~evmos.proto.autogen.py.cosmos.tx.v1beta1.ModeInfo] = <object object>)[source]

Bases: Message

Multi is the mode info for a multisig public key

bitarray: CompactBitArray = <object object>

bitarray specifies which keys within the multisig are signing

mode_infos: List[ModeInfo] = <object object>

mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys

class evmos.proto.autogen.py.cosmos.tx.v1beta1.ModeInfoSingle(mode: ~evmos.proto.autogen.py.cosmos.tx.signing.v1beta1.SignMode = <object object>)[source]

Bases: Message

Single is the mode info for a single signer. It is structured as a message to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the future

mode: SignMode = <object object>

mode is the signing mode of the single signer

class evmos.proto.autogen.py.cosmos.tx.v1beta1.OrderBy(*values)[source]

Bases: Enum

OrderBy defines the sorting order

ORDER_BY_ASC = 1

ORDER_BY_ASC defines ascending order

ORDER_BY_DESC = 2

ORDER_BY_DESC defines descending order

ORDER_BY_UNSPECIFIED = 0

ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.ServiceBase[source]

Bases: ServiceBase

async broadcast_tx(broadcast_tx_request: BroadcastTxRequest) BroadcastTxResponse[source]
async get_block_with_txs(get_block_with_txs_request: GetBlockWithTxsRequest) GetBlockWithTxsResponse[source]
async get_tx(get_tx_request: GetTxRequest) GetTxResponse[source]
async get_txs_event(get_txs_event_request: GetTxsEventRequest) GetTxsEventResponse[source]
async simulate(simulate_request: SimulateRequest) SimulateResponse[source]
async tx_decode(tx_decode_request: TxDecodeRequest) TxDecodeResponse[source]
async tx_decode_amino(tx_decode_amino_request: TxDecodeAminoRequest) TxDecodeAminoResponse[source]
async tx_encode(tx_encode_request: TxEncodeRequest) TxEncodeResponse[source]
async tx_encode_amino(tx_encode_amino_request: TxEncodeAminoRequest) TxEncodeAminoResponse[source]
class evmos.proto.autogen.py.cosmos.tx.v1beta1.ServiceStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async broadcast_tx(broadcast_tx_request: BroadcastTxRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) BroadcastTxResponse[source]
async get_block_with_txs(get_block_with_txs_request: GetBlockWithTxsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) GetBlockWithTxsResponse[source]
async get_tx(get_tx_request: GetTxRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) GetTxResponse[source]
async get_txs_event(get_txs_event_request: GetTxsEventRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) GetTxsEventResponse[source]
async simulate(simulate_request: SimulateRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) SimulateResponse[source]
async tx_decode(tx_decode_request: TxDecodeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) TxDecodeResponse[source]
async tx_decode_amino(tx_decode_amino_request: TxDecodeAminoRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) TxDecodeAminoResponse[source]
async tx_encode(tx_encode_request: TxEncodeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) TxEncodeResponse[source]
async tx_encode_amino(tx_encode_amino_request: TxEncodeAminoRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) TxEncodeAminoResponse[source]
class evmos.proto.autogen.py.cosmos.tx.v1beta1.SignDoc(body_bytes: bytes = <object object>, auth_info_bytes: bytes = <object object>, chain_id: str = <object object>, account_number: int = <object object>)[source]

Bases: Message

SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT.

account_number: int = <object object>

account_number is the account number of the account in state

auth_info_bytes: bytes = <object object>

auth_info_bytes is a protobuf serialization of an AuthInfo that matches the representation in TxRaw.

body_bytes: bytes = <object object>

body_bytes is protobuf serialization of a TxBody that matches the representation in TxRaw.

chain_id: str = <object object>

chain_id is the unique identifier of the chain this transaction targets. It prevents signed transactions from being used on another chain by an attacker

class evmos.proto.autogen.py.cosmos.tx.v1beta1.SignDocDirectAux(body_bytes: bytes = <object object>, public_key: ~betterproto.lib.google.protobuf.Any = <object object>, chain_id: str = <object object>, account_number: int = <object object>, sequence: int = <object object>, tip: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.Tip = <object object>)[source]

Bases: Message

SignDocDirectAux is the type used for generating sign bytes for SIGN_MODE_DIRECT_AUX. .. versionadded:: 0.46

account_number: int = <object object>

account_number is the account number of the account in state.

body_bytes: bytes = <object object>

body_bytes is protobuf serialization of a TxBody that matches the representation in TxRaw.

chain_id: str = <object object>

chain_id is the identifier of the chain this transaction targets. It prevents signed transactions from being used on another chain by an attacker.

public_key: Any = <object object>

public_key is the public key of the signing account.

sequence: int = <object object>

sequence is the sequence number of the signing account.

tip: Tip = <object object>

tips have been depreacted and should not be used

class evmos.proto.autogen.py.cosmos.tx.v1beta1.SignerInfo(public_key: ~betterproto.lib.google.protobuf.Any = <object object>, mode_info: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.ModeInfo = <object object>, sequence: int = <object object>)[source]

Bases: Message

SignerInfo describes the public key and signing mode of a single top-level signer.

mode_info: ModeInfo = <object object>

mode_info describes the signing mode of the signer and is a nested structure to support nested multisig pubkey’s

public_key: Any = <object object>

public_key is the public key of the signer. It is optional for accounts that already exist in state. If unset, the verifier can use the required signer address for this position and lookup the public key.

sequence: int = <object object>

sequence is the sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.SimulateRequest(tx: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.Tx = <object object>, tx_bytes: bytes = <object object>)[source]

Bases: Message

SimulateRequest is the request type for the Service.Simulate RPC method.

tx: Tx = <object object>

tx is the transaction to simulate. Deprecated. Send raw tx bytes instead.

tx_bytes: bytes = <object object>

tx_bytes is the raw transaction. .. versionadded:: 0.43

class evmos.proto.autogen.py.cosmos.tx.v1beta1.SimulateResponse(gas_info: ~evmos.proto.autogen.py.cosmos.base.abci.v1beta1.GasInfo = <object object>, result: ~evmos.proto.autogen.py.cosmos.base.abci.v1beta1.Result = <object object>)[source]

Bases: Message

SimulateResponse is the response type for the Service.SimulateRPC method.

gas_info: GasInfo = <object object>

gas_info is the information about gas used in the simulation.

result: Result = <object object>

result is the result of the simulation.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.Tip(amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, tipper: str = <object object>)[source]

Bases: Message

Tip is the tip used for meta-transactions. .. versionadded:: 0.46

amount: List[Coin] = <object object>

amount is the amount of the tip

tipper: str = <object object>

tipper is the address of the account paying for the tip

class evmos.proto.autogen.py.cosmos.tx.v1beta1.Tx(body: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.TxBody = <object object>, auth_info: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.AuthInfo = <object object>, signatures: ~typing.List[bytes] = <object object>)[source]

Bases: Message

Tx is the standard type used for broadcasting transactions.

auth_info: AuthInfo = <object object>

auth_info is the authorization related content of the transaction, specifically signers, signer modes and fee

body: TxBody = <object object>

body is the processable content of the transaction

signatures: List[bytes] = <object object>

signatures is a list of signatures that matches the length and order of AuthInfo’s signer_infos to allow connecting signature meta information like public key and signing mode by position.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxBody(messages: ~typing.List[~betterproto.lib.google.protobuf.Any] = <object object>, memo: str = <object object>, timeout_height: int = <object object>, extension_options: ~typing.List[~betterproto.lib.google.protobuf.Any] = <object object>, non_critical_extension_options: ~typing.List[~betterproto.lib.google.protobuf.Any] = <object object>)[source]

Bases: Message

TxBody is the body of a transaction that all signers sign over.

extension_options: List[Any] = <object object>

extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can’t be handled, the transaction will be rejected

memo: str = <object object>

memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called note instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).

messages: List[Any] = <object object>

messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo’s signer_infos and Tx’s signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction.

non_critical_extension_options: List[Any] = <object object>

extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can’t be handled, they will be ignored

timeout_height: int = <object object>

timeout is the block height after which this transaction will not be processed by the chain

class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxDecodeAminoRequest(amino_binary: bytes = <object object>)[source]

Bases: Message

TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino RPC method. .. versionadded:: 0.47

amino_binary: bytes = <object object>
class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxDecodeAminoResponse(amino_json: str = <object object>)[source]

Bases: Message

TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino RPC method. .. versionadded:: 0.47

amino_json: str = <object object>
class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxDecodeRequest(tx_bytes: bytes = <object object>)[source]

Bases: Message

TxDecodeRequest is the request type for the Service.TxDecode RPC method. .. versionadded:: 0.47

tx_bytes: bytes = <object object>

tx_bytes is the raw transaction.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxDecodeResponse(tx: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.Tx = <object object>)[source]

Bases: Message

TxDecodeResponse is the response type for the Service.TxDecode method. .. versionadded:: 0.47

tx: Tx = <object object>

tx is the decoded transaction.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxEncodeAminoRequest(amino_json: str = <object object>)[source]

Bases: Message

TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method. .. versionadded:: 0.47

amino_json: str = <object object>
class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxEncodeAminoResponse(amino_binary: bytes = <object object>)[source]

Bases: Message

TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino RPC method. .. versionadded:: 0.47

amino_binary: bytes = <object object>
class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxEncodeRequest(tx: ~evmos.proto.autogen.py.cosmos.tx.v1beta1.Tx = <object object>)[source]

Bases: Message

TxEncodeRequest is the request type for the Service.TxEncode RPC method. .. versionadded:: 0.47

tx: Tx = <object object>

tx is the transaction to encode.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxEncodeResponse(tx_bytes: bytes = <object object>)[source]

Bases: Message

TxEncodeResponse is the response type for the Service.TxEncode method. .. versionadded:: 0.47

tx_bytes: bytes = <object object>

tx_bytes is the encoded transaction bytes.

class evmos.proto.autogen.py.cosmos.tx.v1beta1.TxRaw(body_bytes: bytes = <object object>, auth_info_bytes: bytes = <object object>, signatures: ~typing.List[bytes] = <object object>)[source]

Bases: Message

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 hash sha256(serialize(tx: TxRaw)) becomes the “txhash”, commonly used as the transaction ID.

auth_info_bytes: bytes = <object object>

auth_info_bytes is a protobuf serialization of an AuthInfo that matches the representation in SignDoc.

body_bytes: bytes = <object object>

body_bytes is a protobuf serialization of a TxBody that matches the representation in SignDoc.

signatures: List[bytes] = <object object>

signatures is a list of signatures that matches the length and order of AuthInfo’s signer_infos to allow connecting signature meta information like public key and signing mode by position.