Module subaccounts

Module subaccounts 

Modules§

query_client
Generated client implementations.

Structs§

AssetPosition
AssetPositions define an account’s positions of an Asset. Therefore they hold any information needed to trade on Spot and Margin.
GenesisState
GenesisState defines the subaccounts module’s genesis state.
PerpetualPosition
PerpetualPositions are an account’s positions of a Perpetual. Therefore they hold any information needed to trade perpetuals.
QueryAllSubaccountRequest
QueryAllSubaccountRequest is request type for the Query RPC method.
QueryCollateralPoolAddressRequest
QueryCollateralPoolAddressRequest is the request type for fetching the account address of the collateral pool associated with the passed in perpetual id.
QueryCollateralPoolAddressResponse
QueryCollateralPoolAddressResponse is a response type for fetching the account address of the collateral pool associated with the passed in perpetual id.
QueryGetSubaccountRequest
QueryGetSubaccountRequest is request type for the Query RPC method.
QueryGetWithdrawalAndTransfersBlockedInfoRequest
QueryGetWithdrawalAndTransfersBlockedInfoRequest is a request type for fetching information about whether withdrawals and transfers are blocked for a collateral pool associated with the passed in perpetual id.
QueryGetWithdrawalAndTransfersBlockedInfoResponse
QueryGetWithdrawalAndTransfersBlockedInfoRequest is a response type for fetching information about whether withdrawals and transfers are blocked.
QuerySubaccountAllResponse
QuerySubaccountAllResponse is response type for the Query RPC method.
QuerySubaccountResponse
QuerySubaccountResponse is response type for the Query RPC method.
StreamSubaccountUpdate
StreamSubaccountUpdate provides information on a subaccount update. Used in the full node GRPC stream.
Subaccount
Subaccount defines a single sub-account for a given address. Subaccounts are uniquely indexed by a subaccountNumber/owner pair.
SubaccountAssetPosition
SubaccountAssetPosition provides information on a subaccount’s updated asset positions.
SubaccountId
SubaccountId defines a unique identifier for a Subaccount.
SubaccountPerpetualPosition
SubaccountPerpetualPosition provides information on a subaccount’s updated perpetual positions.