update_token_image
Change a token picture any time (also after graduation to Uniswap). Only the token creator wallet can do it, by EIP-191 personal_sign. Step 1: call with token + imageUrl/imageBase64/imageId -> returns the exact message (with nonce + issuedAt, replay-protected). Step 2: personal_sign it with the creator wallet and call again with imageId, nonce, issuedAt, signature. Old versions are kept. This tool never touches keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | ||
| token | Yes | ||
| imageId | No | id returned by upload_token_image | |
| imageUrl | No | REQUIRED unless imageId/imageBase64 is given: https:// (or ipfs://) link to a PNG, JPEG, WebP or GIF, min 64x64, max 2 MB. We fetch, validate and re-host it. | |
| issuedAt | No | ||
| signature | No | ||
| imageBase64 | No | raw base64 or data:image/...;base64,... of the picture (max 2 MB) |