Set a Degen Games display name or X handle
base167_set_display_nameSet the display name or X handle shown next to a wallet on the boards.
This is the one action that needs a signature FROM THE USER'S OWN WALLET, so it runs in two steps:
Call with address and name (or handle) and NO signature. The tool returns the exact message to sign and the expiry it was built with.
Have the user sign that message byte for byte, then call again with the signature and the SAME expiry.
The message must match exactly or the answer is 401. Both plain wallets and smart contract wallets are accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name, up to 24 printable ASCII characters. | |
| expiry | No | The expiry returned by step 1. Omit on step 1. | |
| handle | No | X handle without the @, up to 15 characters. | |
| address | Yes | An Ethereum address on Base mainnet, 0x followed by 40 hex characters. | |
| signature | No | The signature over the returned message. Omit on step 1. |