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": "avm.getTx",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Returns the specified transaction. The encoding parameter sets the format of the returned transaction. Can be either “hex” or “json”. Defaults to “hex”.
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": "avm.getTx",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
avm.getTx:params.txID: The ID of the transaction to retrieve.params.encoding: Optional. The encoding format to use. Defaults to “hex”.Show properties
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": "avm.getTx",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?