/api/v0/cid/bases

List available multibase encodings.

Arguments

  • prefix [bool]: also include the single letter prefixes in addition to the code. Required: no.

  • numeric [bool]: also include numeric codes. Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

[
  {
    "Code": "<int>",
    "Name": "<string>"
  }
]

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/cid/bases?prefix=<value>&numeric=<value>"


Last updated