Home

Get Block Height by Transaction Hash

POST
https://ont.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the block height at which a specific transaction was included. The transaction is identified by its unique hash.

Body

application/json
jsonrpcstring

The JSON-RPC protocol version. Always "2.0".

methodstring

The RPC method name to be invoked.

paramsArray<string>

An array containing the transaction hash to query.

idinteger

The request identifier used to match the response with the request.

Response

200OK

Successful response with the block height.