evmos.proto.autogen.py.cosmos.bank.v1beta1

Classes

Balance(address, coins)

Balance defines an account address and balance pair used in the bank module's genesis state.

DenomUnit(denom, exponent, aliases)

DenomUnit represents a struct that describes a given denomination unit of the basic token.

GenesisState(params, balances, supply, ...)

GenesisState defines the bank module's genesis state.

Input(address, coins)

Input models transaction input.

Metadata(description, denom_units, base, ...)

Metadata represents a struct that describes a basic token.

MsgBase()

MsgMultiSend(inputs, outputs)

MsgMultiSend represents an arbitrary multi-in, multi-out send message.

MsgMultiSendResponse()

MsgMultiSendResponse defines the Msg/MultiSend response type.

MsgSend(from_address, to_address, amount)

MsgSend represents a message to send coins from one account to another.

MsgSendResponse()

MsgSendResponse defines the Msg/Send response type.

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

Output(address, coins)

Output models transaction outputs.

Params(send_enabled, default_send_enabled)

Params defines the parameters for the bank module.

QueryAllBalancesRequest(address, pagination)

QueryBalanceRequest is the request type for the Query/AllBalances RPC method.

QueryAllBalancesResponse(balances, pagination)

QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.

QueryBalanceRequest(address, denom)

QueryBalanceRequest is the request type for the Query/Balance RPC method.

QueryBalanceResponse(balance)

QueryBalanceResponse is the response type for the Query/Balance RPC method.

QueryBase()

QueryDenomMetadataRequest(denom)

QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.

QueryDenomMetadataResponse(metadata)

QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.

QueryDenomsMetadataRequest(pagination)

QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.

QueryDenomsMetadataResponse(metadatas, ...)

QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.

QueryParamsRequest()

QueryParamsRequest defines the request type for querying x/bank parameters.

QueryParamsResponse(params)

QueryParamsResponse defines the response type for querying x/bank parameters.

QuerySpendableBalancesRequest(address, ...)

QuerySpendableBalancesRequest defines the gRPC request structure for querying an account's spendable balances.

QuerySpendableBalancesResponse(balances, ...)

QuerySpendableBalancesResponse defines the gRPC response structure for querying an account's spendable balances.

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

QuerySupplyOfRequest(denom)

QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.

QuerySupplyOfResponse(amount)

QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.

QueryTotalSupplyRequest(pagination)

QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.

QueryTotalSupplyResponse(supply, pagination)

QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method

SendAuthorization(spend_limit)

SendAuthorization allows the grantee to spend up to spend_limit coins from the granter's account.

SendEnabled(denom, enabled)

SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).

Supply(total)

Supply represents a struct that passively keeps track of the total supply amounts in the network.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.Balance(address: str = <object object>, coins: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

Balance defines an account address and balance pair used in the bank module’s genesis state.

address: str = <object object>

address is the address of the balance holder.

coins: List[Coin] = <object object>

coins defines the different coins this balance holds.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.DenomUnit(denom: str = <object object>, exponent: int = <object object>, aliases: ~typing.List[str] = <object object>)[source]

Bases: Message

DenomUnit represents a struct that describes a given denomination unit of the basic token.

aliases: List[str] = <object object>

aliases is a list of string aliases for the given denom

denom: str = <object object>

denom represents the string name of the given denom unit (e.g uatom).

exponent: int = <object object>

exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit’s denom 1 denom = 1^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of ‘atom’ with exponent = 6, thus: 1 atom = 10^6 uatom).

class evmos.proto.autogen.py.cosmos.bank.v1beta1.GenesisState(params: ~evmos.proto.autogen.py.cosmos.bank.v1beta1.Params = <object object>, balances: ~typing.List[~evmos.proto.autogen.py.cosmos.bank.v1beta1.Balance] = <object object>, supply: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, denom_metadata: ~typing.List[~evmos.proto.autogen.py.cosmos.bank.v1beta1.Metadata] = <object object>)[source]

Bases: Message

GenesisState defines the bank module’s genesis state.

balances: List[Balance] = <object object>

balances is an array containing the balances of all the accounts.

denom_metadata: List[Metadata] = <object object>

denom_metadata defines the metadata of the differents coins.

params: Params = <object object>

params defines all the paramaters of the module.

supply: List[Coin] = <object object>

supply represents the total supply. If it is left empty, then supply will be calculated based on the provided balances. Otherwise, it will be used to validate that the sum of the balances equals this amount.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.Input(address: str = <object object>, coins: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

Input models transaction input.

address: str = <object object>
coins: List[Coin] = <object object>
class evmos.proto.autogen.py.cosmos.bank.v1beta1.Metadata(description: str = <object object>, denom_units: ~typing.List[~evmos.proto.autogen.py.cosmos.bank.v1beta1.DenomUnit] = <object object>, base: str = <object object>, display: str = <object object>, name: str = <object object>, symbol: str = <object object>)[source]

Bases: Message

Metadata represents a struct that describes a basic token.

base: str = <object object>

base represents the base denom (should be the DenomUnit with exponent = 0).

denom_units: List[DenomUnit] = <object object>

denom_units represents the list of DenomUnit’s for a given coin

description: str = <object object>
display: str = <object object>

display indicates the suggested denom that should be displayed in clients.

name: str = <object object>

Cosmos Atom) .. versionadded:: 0.43 :type: name defines the name of the token (eg

symbol: str = <object object>

ATOM). This can be the same as the display. .. versionadded:: 0.43 :type: symbol is the token symbol usually shown on exchanges (eg

class evmos.proto.autogen.py.cosmos.bank.v1beta1.MsgBase[source]

Bases: ServiceBase

async multi_send(msg_multi_send: MsgMultiSend) MsgMultiSendResponse[source]
async send(msg_send: MsgSend) MsgSendResponse[source]
class evmos.proto.autogen.py.cosmos.bank.v1beta1.MsgMultiSend(inputs: ~typing.List[~evmos.proto.autogen.py.cosmos.bank.v1beta1.Input] = <object object>, outputs: ~typing.List[~evmos.proto.autogen.py.cosmos.bank.v1beta1.Output] = <object object>)[source]

Bases: Message

MsgMultiSend represents an arbitrary multi-in, multi-out send message.

inputs: List[Input] = <object object>
outputs: List[Output] = <object object>
class evmos.proto.autogen.py.cosmos.bank.v1beta1.MsgMultiSendResponse[source]

Bases: Message

MsgMultiSendResponse defines the Msg/MultiSend response type.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.MsgSend(from_address: str = <object object>, to_address: str = <object object>, amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

MsgSend represents a message to send coins from one account to another.

amount: List[Coin] = <object object>
from_address: str = <object object>
to_address: str = <object object>
class evmos.proto.autogen.py.cosmos.bank.v1beta1.MsgSendResponse[source]

Bases: Message

MsgSendResponse defines the Msg/Send response type.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.MsgStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]

Bases: ServiceStub

async multi_send(msg_multi_send: MsgMultiSend, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgMultiSendResponse[source]
async send(msg_send: MsgSend, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgSendResponse[source]
class evmos.proto.autogen.py.cosmos.bank.v1beta1.Output(address: str = <object object>, coins: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

Output models transaction outputs.

address: str = <object object>
coins: List[Coin] = <object object>
class evmos.proto.autogen.py.cosmos.bank.v1beta1.Params(send_enabled: ~typing.List[~evmos.proto.autogen.py.cosmos.bank.v1beta1.SendEnabled] = <object object>, default_send_enabled: bool = <object object>)[source]

Bases: Message

Params defines the parameters for the bank module.

default_send_enabled: bool = <object object>
send_enabled: List[SendEnabled] = <object object>
class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryAllBalancesRequest(address: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryBalanceRequest is the request type for the Query/AllBalances RPC method.

address: str = <object object>

address is the address to query balances for.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryAllBalancesResponse(balances: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.

balances: List[Coin] = <object object>

balances is the balances of all the coins.

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryBalanceRequest(address: str = <object object>, denom: str = <object object>)[source]

Bases: Message

QueryBalanceRequest is the request type for the Query/Balance RPC method.

address: str = <object object>

address is the address to query balances for.

denom: str = <object object>

denom is the coin denom to query balances for.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryBalanceResponse(balance: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>)[source]

Bases: Message

QueryBalanceResponse is the response type for the Query/Balance RPC method.

balance: Coin = <object object>

balance is the balance of the coin.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryBase[source]

Bases: ServiceBase

async all_balances(query_all_balances_request: QueryAllBalancesRequest) QueryAllBalancesResponse[source]
async balance(query_balance_request: QueryBalanceRequest) QueryBalanceResponse[source]
async denom_metadata(query_denom_metadata_request: QueryDenomMetadataRequest) QueryDenomMetadataResponse[source]
async denoms_metadata(query_denoms_metadata_request: QueryDenomsMetadataRequest) QueryDenomsMetadataResponse[source]
async params(query_params_request: QueryParamsRequest) QueryParamsResponse[source]
async spendable_balances(query_spendable_balances_request: QuerySpendableBalancesRequest) QuerySpendableBalancesResponse[source]
async supply_of(query_supply_of_request: QuerySupplyOfRequest) QuerySupplyOfResponse[source]
async total_supply(query_total_supply_request: QueryTotalSupplyRequest) QueryTotalSupplyResponse[source]
class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryDenomMetadataRequest(denom: str = <object object>)[source]

Bases: Message

QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.

denom: str = <object object>

denom is the coin denom to query the metadata for.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryDenomMetadataResponse(metadata: ~evmos.proto.autogen.py.cosmos.bank.v1beta1.Metadata = <object object>)[source]

Bases: Message

QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.

metadata: Metadata = <object object>

metadata describes and provides all the client information for the requested token.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryDenomsMetadataRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryDenomsMetadataResponse(metadatas: ~typing.List[~evmos.proto.autogen.py.cosmos.bank.v1beta1.Metadata] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.

metadatas: List[Metadata] = <object object>

metadata provides the client information for all the registered tokens.

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryParamsRequest[source]

Bases: Message

QueryParamsRequest defines the request type for querying x/bank parameters.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryParamsResponse(params: ~evmos.proto.autogen.py.cosmos.bank.v1beta1.Params = <object object>)[source]

Bases: Message

QueryParamsResponse defines the response type for querying x/bank parameters.

params: Params = <object object>
class evmos.proto.autogen.py.cosmos.bank.v1beta1.QuerySpendableBalancesRequest(address: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QuerySpendableBalancesRequest defines the gRPC request structure for querying an account’s spendable balances.

address: str = <object object>

address is the address to query spendable balances for.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QuerySpendableBalancesResponse(balances: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QuerySpendableBalancesResponse defines the gRPC response structure for querying an account’s spendable balances.

balances: List[Coin] = <object object>

balances is the spendable balances of all the coins.

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]

Bases: ServiceStub

async all_balances(query_all_balances_request: QueryAllBalancesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryAllBalancesResponse[source]
async balance(query_balance_request: QueryBalanceRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryBalanceResponse[source]
async denom_metadata(query_denom_metadata_request: QueryDenomMetadataRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryDenomMetadataResponse[source]
async denoms_metadata(query_denoms_metadata_request: QueryDenomsMetadataRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryDenomsMetadataResponse[source]
async params(query_params_request: QueryParamsRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryParamsResponse[source]
async spendable_balances(query_spendable_balances_request: QuerySpendableBalancesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QuerySpendableBalancesResponse[source]
async supply_of(query_supply_of_request: QuerySupplyOfRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QuerySupplyOfResponse[source]
async total_supply(query_total_supply_request: QueryTotalSupplyRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryTotalSupplyResponse[source]
class evmos.proto.autogen.py.cosmos.bank.v1beta1.QuerySupplyOfRequest(denom: str = <object object>)[source]

Bases: Message

QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.

denom: str = <object object>

denom is the coin denom to query balances for.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QuerySupplyOfResponse(amount: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>)[source]

Bases: Message

QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.

amount: Coin = <object object>

amount is the supply of the coin.

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryTotalSupplyRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request. .. versionadded:: 0.43

class evmos.proto.autogen.py.cosmos.bank.v1beta1.QueryTotalSupplyResponse(supply: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method

pagination: PageResponse = <object object>

pagination defines the pagination in the response. .. versionadded:: 0.43

supply: List[Coin] = <object object>

supply is the supply of the coins

class evmos.proto.autogen.py.cosmos.bank.v1beta1.SendAuthorization(spend_limit: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

SendAuthorization allows the grantee to spend up to spend_limit coins from the granter’s account. .. versionadded:: 0.43

spend_limit: List[Coin] = <object object>
class evmos.proto.autogen.py.cosmos.bank.v1beta1.SendEnabled(denom: str = <object object>, enabled: bool = <object object>)[source]

Bases: Message

SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).

denom: str = <object object>
enabled: bool = <object object>
class evmos.proto.autogen.py.cosmos.bank.v1beta1.Supply(total: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

Supply represents a struct that passively keeps track of the total supply amounts in the network. This message is deprecated now that supply is indexed by denom.

total: List[Coin] = <object object>