GetCoinInfo

Parameters:

coin_type - string Required. The coin type to request information about

Returns:

coin_type - string Required. The coin type.

metadata - CoinMetadata This field will be populated with information about this coin type's 0x2::coin::CoinMetadata if it exists and has not been wrapped.

regulated_metadata - RegulatedCoinMetadata If this coin type is a regulated coin, this field will be populated with information about its 0x2::coin::RegulatedCoinMetadata object.

treasury - CoinTreasury This field will be populated with information about this coin type's 0x2::coin::TreasuryCap if it exists and has not been wrapped.

Example:

grpcurl -proto .sui/rpc/v2beta2/live_data_service.proto
-H "x-token: YOUR_TOKEN_VALUE" 
-d 
'{
    "coin_type": "0x2::sui::SUI"

}' 
sui.blockpi.network sui.rpc.v2beta.LiveDataService/GetCoinInfo

Last updated

Was this helpful?