POST /token/{md5}/image
POST

/v1/token/{md5}/image

Upload token logo image. 3s per-token write cooldown.

Authwallet signature (token creator/issuer or admin)

Request

POSThttps://api.xrpl.to/v1/token/0dd550278b74cb6690fdae351e8e0df3/image
Path parameterValueDescription
md5The token's md5 (md5 of issuer_currency)
Body
Body fieldsas documented
{
  imageData: base64 PNG/JPEG/GIF/WebP (max ~650KB decoded)
}
curl -X POST 'https://api.xrpl.to/v1/token/0dd550278b74cb6690fdae351e8e0df3/image'
Needs a wallet signature, so it cannot run from this page — see API Keys for the headers.

Response

No public sample for this endpoint — run the code on the right with your own values and your key to see the response.
Shapeas documented
{ success, md5, imgUpdated }

What it does

Upload token logo image. 3s per-token write cooldown.

A token id can be its md5, slug or issuer_currency. How to build an md5 →
OpenAPI