{"id":"tx-decoder","name":"Transaction Decoder Agent","version":"1.0.0","status":"active","description":"Turns an existing onchain transaction into structured calls, transfers, approvals and method information with evidence and decoding confidence.","machine_description":"Decode an existing transaction identified by chain and transaction hash into normalized calls, transfers, approvals, method signatures, contracts, warnings, evidence and decoding confidence. No signing or execution.","capabilities":["transaction-decoding","transfer-extraction","approval-extraction"],"limitations":["Accuracy depends on available ABI/signature data.","Does not sign or execute transactions."],"human_url":"https://agent.becoder.xyz/agents/tx-decoder","api_url":"https://agent.becoder.xyz/v1/agents/tx-decoder/decode","route":"/v1/agents/tx-decoder/decode","method":"POST","pricing":{"model":"per_call","amount_usd":"0.005","default_usd":"0.005","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payment":"x402","enabled":true},"price":{"model":"per_call","amount_usd":"0.005","default_usd":"0.005","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payment":"x402","enabled":true},"paid_endpoint":"https://agent.becoder.xyz/v1/agents/tx-decoder/decode","services":{"rest":{"available":true,"endpoint":"https://agent.becoder.xyz/v1/agents/tx-decoder/decode"},"mcp":{"available":true,"endpoint":"https://agent.becoder.xyz/mcp","tool":"becoder_tx_decode"},"a2a":{"available":true,"endpoint":"https://agent.becoder.xyz/.well-known/agent-card.json","skill_id":"tx-decoder"},"x402":{"available":true,"enabled":true,"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"erc8004":{"status":"registered","agentId":"95129","network":"base-mainnet","chainId":8453,"registry":"eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432","registryAddress":"0x8004A169FB4a3325136EB29fA0ceB6D2e539a432","agentUri":"https://agent.becoder.xyz/erc8004/tx-decoder.json","registrationTx":"0x69c0f7a8e26d56200db148643d0563428255d8373d7440ced7735baaec2ee4c3","owner":"0xD275022371D38010028fB923E355d42db3fBb536","registeredAt":"2026-09-20T11:54:06.413Z","standard":"erc-8004"},"schemas":{"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","pattern":"^(eip155:[0-9]+|solana:[a-z0-9-]+|cardano:[a-z0-9-]+)$"},"tx_hash":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["chain_id","tx_hash"],"additionalProperties":false},"output":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string","minLength":1},"agent":{"type":"object","properties":{"id":{"type":"string","minLength":1},"version":{"type":"string","minLength":1}},"required":["id","version"],"additionalProperties":false},"status":{"type":"string","const":"success"},"result":{"type":"object","properties":{"transaction":{"type":"object","properties":{"chain_id":{"type":"string"},"hash":{"type":"string"},"from":{"type":"string"},"to":{"type":["string","null"]},"value":{"type":"string"},"nonce":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"block_number":{"type":["string","null"]},"status":{"type":"string","enum":["success","reverted","pending","unknown"]},"gas_used":{"type":["string","null"]}},"required":["chain_id","hash","from","to","value","nonce","block_number","status","gas_used"],"additionalProperties":false},"calls":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"target":{"type":["string","null"]},"selector":{"type":["string","null"]},"method":{"type":["string","null"]},"signature":{"type":["string","null"]},"args":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"confidence":{"type":"string","enum":["verified_abi","known_signature","heuristic","unknown"]},"value":{"type":"string"}},"required":["index","target","selector","method","signature","args","confidence"],"additionalProperties":false}},"transfers":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["native","erc20","erc721","erc1155"]},"from":{"type":["string","null"]},"to":{"type":["string","null"]},"asset":{"type":["string","null"]},"token_id":{"type":["string","null"]},"amount":{"type":"string"},"source":{"type":"string","enum":["call","log"]}},"required":["type","from","to","asset","amount","source"],"additionalProperties":false}},"approvals":{"type":"array","items":{"type":"object","properties":{"standard":{"type":"string","enum":["erc20","erc721","erc1155"]},"owner":{"type":["string","null"]},"spender":{"type":["string","null"]},"asset":{"type":["string","null"]},"amount":{"type":["string","null"]},"approved_all":{"type":"boolean"},"source":{"type":"string","enum":["call","log"]}},"required":["standard","owner","spender","asset","amount","approved_all","source"],"additionalProperties":false}},"contracts":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"role":{"type":"string","enum":["call_target","log_emitter"]},"abi_status":{"type":"string"}},"required":["address","role","abi_status"],"additionalProperties":false}},"decode_confidence":{"type":"string","enum":["verified_abi","known_signature","heuristic","unknown"]},"warnings":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1},"description":{"type":"string"},"data":{},"url":{"type":"string","format":"uri"}},"required":["source"],"additionalProperties":false}},"limitations":{"type":"array","items":{"type":"string"}}},"required":["transaction","calls","transfers","approvals","contracts","decode_confidence","warnings","evidence"],"additionalProperties":false},"evidence":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1},"description":{"type":"string"},"data":{},"url":{"type":"string","format":"uri"}},"required":["source"],"additionalProperties":false}},"warnings":{"type":"array","items":{"type":"string"}},"limitations":{"type":"array","items":{"type":"string"}},"execution":{"type":"object","properties":{"started_at":{"type":"string"},"duration_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"cache":{"type":"string","enum":["hit","miss","bypass"]}},"required":["started_at","duration_ms","cache"],"additionalProperties":false}},"required":["request_id","agent","status","result","evidence","warnings","limitations","execution"],"additionalProperties":false}},"examples":[{"name":"Decode an ERC-20 transfer transaction","input":{"chain_id":"eip155:8453","tx_hash":"0x0000000000000000000000000000000000000000000000000000000000000000"},"output":{"transaction":{"chain_id":"eip155:8453","hash":"0x0000000000000000000000000000000000000000000000000000000000000000","from":"0x0000000000000000000000000000000000000000","to":"0x0000000000000000000000000000000000000000","value":"0","nonce":0,"block_number":null,"status":"pending","gas_used":null},"calls":[],"transfers":[],"approvals":[],"contracts":[],"decode_confidence":"unknown","warnings":[],"evidence":[],"limitations":[]}}],"endpoint":"/v1/agents/tx-decoder/decode"}