Create a challenge to sign message

POST {{baseUrl}}/user/sign/message

Generates a challenge for signing the EIP-191 message from a specified user-controlled wallet. Please note that not all the Dapps currently support Smart Contract Account (SCA), the difference between EOA and SCA can be found in the account types guide, and you can check the list of Dapps that support SCA: https://eip1271.io/.

https://developers.circle.com/w3s/reference/signusermessage

Request Body

{"walletId"=>"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11", "encodedByHex"=>true, "message"=>"I agree with this transfer", "memo"=>"Transfer USDC to Sam"}

HEADERS

KeyDatatypeRequiredDescription
X-User-Tokenstring