Blockchain Networks' IDs
A.k.a. BN ID
The identifiers of the blockchain networks in THXNET. are represented in an enumeration form.
To specify the blockchain network in a URL, it must be turned into lower case, for example: testnet_leafchain_sand
And if the blockchain network is specified in HTTP header, then it can be both upper case or lower case.
Example
URL (set the <BN_ID>)
https://api.helpers.testnet.thxnet.org/rest/v0/my_id_wallet/testnet_leafchain_sand/ft
https://api.helpers.testnet.thxnet.org/rest/v0/my_id_wallet/testnet_leafchain_txd/ft
HTTP Header
THXNET-Blockchain-Network: TESTNET_LEAFCHAIN_SAND
THXNET-Blockchain-Network: TESTNET_LEAFCHAIN_THX
Last updated