curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/{walletId}/signMessage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"isFormatted": true,
"roomId": "<string>",
"context": {
"evmTransaction": {
"to": "<string>",
"chainId": 123,
"data": "<string>",
"gas": "<string>",
"gasPrice": "<string>",
"maxFeePerGas": "<string>",
"maxPriorityFeePerGas": "<string>",
"nonce": 123,
"value": "<string>"
},
"evmUserOperation": {
"chainId": 123,
"entryPoint": "<string>",
"operation": {
"authorization": {
"address": "<string>",
"chainId": 123,
"nonce": 123,
"r": "<string>",
"s": "<string>",
"v": "<string>",
"yParity": 123
},
"callData": "<string>",
"callGasLimit": "<string>",
"factory": "<string>",
"factoryData": "<string>",
"maxFeePerGas": "<string>",
"maxPriorityFeePerGas": "<string>",
"nonce": "<string>",
"paymaster": "<string>",
"paymasterData": "<string>",
"paymasterPostOpGasLimit": "<string>",
"paymasterVerificationGasLimit": "<string>",
"preVerificationGas": "<string>",
"sender": "<string>",
"signature": "<string>",
"verificationGasLimit": "<string>"
}
},
"svmTransaction": {
"chainId": "<string>",
"method": "<string>",
"serializedTransactions": [
"<string>"
]
},
"suiTransaction": {
"chainId": "An example name",
"serializedTransaction": "<string>"
},
"eip7702Auth": {
"address": "<string>",
"chainId": 123,
"nonce": 123
},
"evmMessage": "<string>",
"svmMessage": "<string>",
"suiMessage": "<string>",
"evmTypedData": {
"domain": {
"name": "<string>",
"version": "<string>",
"chainId": 123,
"verifyingContract": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
},
"message": {},
"primaryType": "<string>",
"types": {}
},
"domain": "https://app.xyz.com"
}
}
'{
"roomId": "<string>",
"serverKeygenIds": [
"<string>"
],
"newServerKeygenIds": [
"<string>"
],
"walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/{walletId}/signMessage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"isFormatted": true,
"roomId": "<string>",
"context": {
"evmTransaction": {
"to": "<string>",
"chainId": 123,
"data": "<string>",
"gas": "<string>",
"gasPrice": "<string>",
"maxFeePerGas": "<string>",
"maxPriorityFeePerGas": "<string>",
"nonce": 123,
"value": "<string>"
},
"evmUserOperation": {
"chainId": 123,
"entryPoint": "<string>",
"operation": {
"authorization": {
"address": "<string>",
"chainId": 123,
"nonce": 123,
"r": "<string>",
"s": "<string>",
"v": "<string>",
"yParity": 123
},
"callData": "<string>",
"callGasLimit": "<string>",
"factory": "<string>",
"factoryData": "<string>",
"maxFeePerGas": "<string>",
"maxPriorityFeePerGas": "<string>",
"nonce": "<string>",
"paymaster": "<string>",
"paymasterData": "<string>",
"paymasterPostOpGasLimit": "<string>",
"paymasterVerificationGasLimit": "<string>",
"preVerificationGas": "<string>",
"sender": "<string>",
"signature": "<string>",
"verificationGasLimit": "<string>"
}
},
"svmTransaction": {
"chainId": "<string>",
"method": "<string>",
"serializedTransactions": [
"<string>"
]
},
"suiTransaction": {
"chainId": "An example name",
"serializedTransaction": "<string>"
},
"eip7702Auth": {
"address": "<string>",
"chainId": 123,
"nonce": 123
},
"evmMessage": "<string>",
"svmMessage": "<string>",
"suiMessage": "<string>",
"evmTypedData": {
"domain": {
"name": "<string>",
"version": "<string>",
"chainId": 123,
"verifyingContract": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
},
"message": {},
"primaryType": "<string>",
"types": {}
},
"domain": "https://app.xyz.com"
}
}
'{
"roomId": "<string>",
"serverKeygenIds": [
"<string>"
],
"newServerKeygenIds": [
"<string>"
],
"walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
UUID of the wallet
36"95b11417-f18f-457f-8804-68e361f9164f"
Sign Message Request
Successfully created a room for signing message ceremony
A base58 string with a max length of 100 characters
100A base58 string with a max length of 100 characters
10036"95b11417-f18f-457f-8804-68e361f9164f"
Was this page helpful?