Catalog/evm-rlp-decode

EVM

RLP-decode a hex payload API

RLP-decode a 0x-hex payload back into its nested byte-string structure (the inverse of EVM RLP serialization), via viem's fromRlp. Answers 'What does this RLP blob contain?','How do I parse 0xc20102?'.

Price$0.01per request
MethodPOST
Route/v1/evm/rlp-decode
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
evmrlpdecodedeserializebytestransactionhex
API URLhttps://x402.hexl.dev/v1/evm/rlp-decode
Integration docs
Example request
{
  "encoded": "0xc20102"
}
Example response
{
  "encoded": "0xc20102",
  "decoded": [
    "0x01",
    "0x02"
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "encoded"
  ],
  "properties": {
    "encoded": {
      "type": "string",
      "examples": [
        "0xc20102"
      ]
    }
  },
  "examples": [
    {
      "encoded": "0xc20102"
    }
  ]
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}