POST
/
insights
/
v1
/
decode
/
{contractAddress}
Decode logs and transactions​
curl --request POST \
  --url https://data-api.b3.fun/insights/v1/decode/{contractAddress} \
  --header 'Content-Type: application/json' \
  --data '{
  "transactions": [
    {
      "data": "<string>"
    }
  ],
  "logs": [
    {
      "data": "<string>",
      "topics": [
        "<string>"
      ]
    }
  ]
}'
{
  "data": {
    "transactions": [
      {
        "data": "<string>",
        "function_name": "<string>",
        "args": [
          "<any>"
        ]
      }
    ],
    "logs": [
      {
        "data": "<string>",
        "topics": [
          "<string>"
        ],
        "event_name": "<string>",
        "args": [
          "<any>"
        ]
      }
    ]
  }
}

Body

application/json

Response

200
application/json

Success

The response is of type object.