Skip to main content

POST /transactions/decode

Decodes transaction action, given a minimum set of transaction details

Parameters

  • action
    • category : (string)
    • name : (string)
    • description : (string)
    • arguments : {object}
  • data : (string)
  • sender : (string) - Address of the transaction sender
  • receiver : (string) - Address of the transaction receiver
  • value : (string) - value amount

Returns

  • action
    • category : (string)
    • name : (string)
    • description : (string)
    • arguments : {object}
  • data : (string)
  • sender : (string) - Address of the transaction sender
  • receiver : (string) - Address of the transaction receiver
  • value : (string) - value amount

Example

Request

curl -X 'POST' \
'https://api.elrond.com/transactions/decode' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"action": {
"category": "string",
"name": "string",
"description": "string",
"arguments": {}
},
"data": "string",
"receiver": "string",
"sender": "string",
"value": "string"
}'

Result

{
"action": {
"category": "string",
"name": "string",
"description": "string",
"arguments": {}
},
"data": "string",
"receiver": "string",
"sender": "string",
"value": "string"
}