gRPCGetCoinInfo
sui-mainnet.nodit.io:443 sui.rpc.v2.StateService/GetCoinInfounaryRetrieves the metadata and treasury information for the specified coin type.
TransportgRPC
Request and response messages are identical for both transports. Only the wire protocol, headers, and client library differ.
- Protocol
- Native gRPC over HTTP/2 with TLS. Suited to server-side clients and grpcurl.
- Content-Type
application/grpc- Headers
x-api-key- Streaming
- Server, client, and bidirectional streaming are all supported.
- Errors
- grpc-status and grpc-message are delivered as HTTP/2 trailers.
Request Body
The coin type to request information about.
Responses
Required. The coin type.
CoinMetadata or Currency ObjectId.
Number of decimal places.
Token name.
Token symbol.
Description of the coin.
Logo/icon URL.
MetadataCap ObjectId.
State of the metadata cap.
TreasuryCap ObjectId.
Total supply of the coin.
State of the supply.
RegulatedCoinMetadata ObjectId.
CoinMetadata or CoinData ID.
DenyCap ID.
Whether global pause is allowed.
Variant of the regulated metadata.
Regulated state of the coin.