GetCoinInfoResponse
@iota/grpc / GetCoinInfoResponse
Type Alias: GetCoinInfoResponse
GetCoinInfoResponse =
Message<"iota.grpc.v1.state_service.GetCoinInfoResponse"> &object
Defined in: sdk/grpc/src/proto/iota/grpc/v1/state_service_pb.ts:238
Response message for StateService.GetCoinInfo.
Type Declaration
coinType?
optionalcoinType?:string
Required. The coin type.
Generated
from field: optional string coin_type = 1;
metadata?
optionalmetadata?:CoinMetadata
This field will be populated with information about this coin
type's 0x2::coin::CoinMetadata if it exists and has not been wrapped.
Generated
from field: optional iota.grpc.v1.coin.CoinMetadata metadata = 2;
regulatedMetadata?
optionalregulatedMetadata?:RegulatedCoinMetadata
If this coin type is a regulated coin, this field will be
populated with information either from its Currency object
in the CoinRegistry, or from its 0x2::coin::RegulatedCoinMetadata
object for coins that have not been migrated to the CoinRegistry
If this coin is not known to be regulated, only the coin_regulated_state field will be populated.
Generated
from field: optional iota.grpc.v1.coin.RegulatedCoinMetadata regulated_metadata = 4;
treasury?
optionaltreasury?:CoinTreasury
This field will be populated with information about this coin
type's 0x2::coin::TreasuryCap if it exists and has not been wrapped.
Generated
from field: optional iota.grpc.v1.coin.CoinTreasury treasury = 3;
Generated
from message iota.grpc.v1.state_service.GetCoinInfoResponse