curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avax.getAtomicTx",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Gets a transaction by its ID. Optional encoding parameter to specify the format for the returned transaction. Can only be hex when a value is provided.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avax.getAtomicTx",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
avax.getAtomicTx:params.txID: The transaction ID (in CB58 format).params.encoding: Optional encoding format of the result. Only “hex” is allowed.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avax.getAtomicTx",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?