18.1 API

  • How do I query an NFT metadata?

Our platform creator tools API provides a metadata endpoint for tokens.

  • How do I query all balances corresponding to the address?

We’re currently working on an endpoint this. It’s currently queryable internally, but we need to clean it up and decide how to expose it publicly.

  • How do I query the corresponding header according to the height?

https://explorer-api.galachain.com/v1/explorer/blocks/{channel}/latest

  • How do I query the latest block height of the current blockchain?

https://explorer-api.galachain.com/v1/explorer/height/{channel}

  • How do I query the corresponding block and all the transaction details inside the block according to the height, including but not limited to: ‘hash, txid, amount, from, to, token, fee, status, timestamp, type’.

https://explorer-api.galachain.com/v1/explorer/blocks/{channel}/latest