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
A string with a max length of 16384 characters
16384Show child attributes
Standard EVM transaction
Show child attributes
Recipient address
Chain ID
Transaction data as hex string
Gas limit as hex string
Gas price as hex string
Maximum fee per gas as hex string
Maximum priority fee per gas as hex string
Transaction nonce
Transaction value as hex string
User Operation (ERC-4337)
Show child attributes
Chain identifier needed for user operation hash calculation
Address of the entry point contract
The actual user operation data
Show child attributes
Authorization signature data (optional)
Show child attributes
Address that signed the authorization
Chain ID for the authorization signature
Nonce used in the authorization signature
R component of the ECDSA signature
S component of the ECDSA signature
V component of the ECDSA signature
Y parity of the signature (0 or 1)
The data to pass to the sender during the main execution call
The amount of gas to allocate the main execution call
Account factory address (optional, only for new accounts)
Data for account factory (optional)
Maximum fee per gas
Maximum priority fee per gas
Anti-replay parameter
Address of paymaster contract (optional)
Data for paymaster (optional)
The amount of gas to allocate for the paymaster post-operation code (optional)
The amount of gas to allocate for the paymaster validation code (optional)
Extra gas to pay the Bundler
The account making the operation
Data passed into the account to verify authorization
The amount of gas to allocate for the verification step
EVM message that can be either a plain string or an object with raw hex data
A string with a max length of 16384 characters
16384A string with a max length of 16384 characters
16384EIP-712 typed data payload
Show child attributes
Show child attributes
Valid blockchain wallet address, must be an alphanumeric string without any special characters
255"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Typed data message object
255"https://app.xyz.com"
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?