Base64 Encode Task

Encodes bytes/string into a Base64 string.

Parameters

  • input: Byte array or string to be encoded.

Outputs

String with Base64 encoding of input.

Example

my_base64encode_task [type="base64encode" input="Hello, playground"]

Given the input string “Hello, playground”, the task will return “SGVsbG8sIHBsYXlncm91bmQ=“.

Stay updated on the latest Chainlink news