NEW

Connect the world's APIs to Web3 with Chainlink Functions. Get started

Hex Decode Task

Accepts a hexadecimal encoded string and returns decoded bytes.

Parameters

  • input: a hexadecimal encoded string, must have prefix 0x.

Outputs

Decoded bytes.

Example

my_hexdecode_task [type="hexdecode" input="0x12345678"]

Given the input 0x12345678, the task will return [0x12, 0x34, 0x56, 0x78].

Stay updated on the latest Chainlink news