Skip to main content

/transaction/material REST API Endpoint

Returns the material that is universal to constructing any signed transaction offline.

Updated on
Sep 2, 2024

/transaction/material REST API Endpoint

Path Parameters

Query Parameters

at
string
Block at which to retrieve the transaction construction material.
metadata
string
Specifies the format of the metadata to be returned. Accepted values are 'json', and 'scale'. 'json' being the decoded metadata, and 'scale' being the SCALE encoded metadata. When `metadata` is not inputted, the `metadata` field will be absent.

Returns

at
object
An object containing information about the state
hash
string
The block's hash
height
string
The block's height
genesisHash
string
The hash of the genesis block
chainName
string
The name of the blockchain network
specName
string
The name of the blockchain specification
specVersion
string
The version number of the blockchain specification being used
txVersion
string
The version number of the transaction format, ensuring compatibility with different versions of the blockchain
Request
1
curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/transaction/material' \
2
--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free