public/decode_action
Changed onRuns a hex-encoded Action.data payload through the exchange's own ABI decoder and returns either the decoded fields or the exact reason the bytes were rejected, naming the 32-byte word and the field that broke. Reach for this first when a request fails signature verification (14014): every other route encodes Action.data server-side, so a client whose encoder emits a bad word never sees a decode error - the hashes simply disagree. This is the only route a client's own bytes reach the decoder. Needs no auth and executes nothing.
Request
- Base URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Which action layout the bytes are meant to be.
ABI-encoded action data (the Action.data bytes), 0x-prefixed hex. Same value the *_debug routes return as encoded_data.
Response
Success
Echoed back so a batch of probes stays attributable.
Changes
- info
added the media type
application/jsonfor the response with the status
- info