The utility APIs help you use some native blockchain features such as getting the address of a smart contract or estimating the block number.
Each utility API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
1 credit per API call
Get the blockchain address of a smart contract by the ID of its deployment transaction.
This API is supported for the following blockchains:
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "contractAddress": "0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"
}
1 credit per API call
Get an estimated block height (number) for some future point in time.
Note that this API returnes an estimation of what the block height might be and not the exact block height.
This API is supported for the following blockchains:
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
15795762