Home

TAO RPC API - Author Methods

v1.0.0
Base URL
https://tao.nownodes.ioTAO RPC

API for interacting with TAO via JSON-RPC. Contains author category methods for submitting and monitoring extrinsics.

Authentication

api-keyAuthapiKey

API Key: API_key in header

JSON-RPC

chain

Get the hash of the last finalized block

POST
https://tao.nownodes.io/chain_getFinalizedHead

Authorizations

ApiKeyAuthApiKeyAuth

API_key string

NOWNodes API key passed in the api-key header.

Returns the hash of the block that was finalized on the chain.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

Method parameters (empty array)

Response

200OK

Hash of the last finalized block

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Get block by hash

POST
https://tao.nownodes.io/chain_getBlock

Authorizations

ApiKeyAuthApiKeyAuth

API_key string

NOWNodes API key passed in the api-key header.

Returns full information of a block, including header, extrinsics, and digest.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing block hash to retrieve

Response

200OK

Full block details

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Get block hash by block number

POST
https://tao.nownodes.io/chain_getBlockHash

Authorizations

ApiKeyAuthApiKeyAuth

API_key string

NOWNodes API key passed in the api-key header.

Returns the block hash using the block number in the chain.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<integer>required

Array containing block number

Response

200OK

Block hash by block number

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error