NetworkIdentifier
The network_identifier specifies which network a particular object is associated with.
Properties
Name | Type | Description | Required |
---|---|---|---|
blockchain | String | True | |
network | String | If a blockchain has a specific chain-id or network identifier, it should go in this field. It is up to the client to determine which network-specific identifier is mainnet or testnet. | True |
sub_network_identifier | SubNetworkIdentifier | In blockchains with sharded state, the SubNetworkIdentifier is required to query some object on a specific shard. This identifier is optional for all non-sharded blockchains. | False |
Example
{
"blockchain": "bitcoin",
"network": "mainnet",
"sub_network_identifier": {
"network": "shard 1",
"metadata": {
"producer": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5"
}
}
}