POST
/
v1-alpha1
/
wallets
/
{chain}
:
{address}
/
signMessage
curl --request POST \
  --url https://staging.crossmint.com/api/v1-alpha1/wallets/{chain}:{address}/signMessage \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "message": "<string>"
}'
{
  "signedMessage": "0x00000000..."
}

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
headerrequired

Obtained in the Crossmint developer console

Path Parameters

chain
enum<string>
default: ethereumrequired

The blockchain network you are using.

Available options:
arbitrum,
arbitrumnova,
arbitrum-sepolia,
base,
base-sepolia,
bsc,
ethereum,
ethereum-sepolia,
optimism,
optimism-sepolia,
polygon,
zkatana,
zora,
zora-sepolia
address
string
required

The wallet address you want to sign the message with

Body

application/json
message
string
required

The message to be signed

Response

200 - application/json
signedMessage
string

This is the result of ethers.Signer.signMessage