Documentation
¶
Index ¶
- func GetFungibleAssetBalance(client aptos.AptosRpcClient, account aptos.AccountAddress, ...) (uint64, error)
- func GetFungibleAssetSupply(client aptos.AptosRpcClient, faMetadataAddress aptos.AccountAddress) (uint64, error)
- func GetObjectOwner(client aptos.AptosRpcClient, objectAddress aptos.AccountAddress) (aptos.AccountAddress, error)
- type FungibleAssetMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFungibleAssetBalance ¶
func GetFungibleAssetBalance( client aptos.AptosRpcClient, account aptos.AccountAddress, faMetadataAddress aptos.AccountAddress, ) (uint64, error)
GetFungibleAssetBalance queries the given account's balance of the fungible asset in its primary fungible store.
func GetFungibleAssetSupply ¶
func GetFungibleAssetSupply( client aptos.AptosRpcClient, faMetadataAddress aptos.AccountAddress, ) (uint64, error)
func GetObjectOwner ¶
func GetObjectOwner( client aptos.AptosRpcClient, objectAddress aptos.AccountAddress, ) (aptos.AccountAddress, error)
Types ¶
type FungibleAssetMetadata ¶
type FungibleAssetMetadata struct {
Name string
Symbol string
Decimals uint8
IconURI string
ProjectURI string
}
func GetFungibleAssetMetadata ¶
func GetFungibleAssetMetadata( client aptos.AptosRpcClient, faMetadataAddress aptos.AccountAddress, ) (FungibleAssetMetadata, error)
Click to show internal directories.
Click to hide internal directories.