curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "EVM",
"toAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"tokenAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"timeLimit": 2,
"maxAmount": "<string>"
}
'{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"walletId": "95b11417-f18f-457f-8804-68e361f9164f",
"chain": "EVM",
"toAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"tokenAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"expiresAt": "2023-11-07T05:31:56Z",
"maxAmount": "<string>"
}curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "EVM",
"toAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"tokenAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"timeLimit": 2,
"maxAmount": "<string>"
}
'{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"walletId": "95b11417-f18f-457f-8804-68e361f9164f",
"chain": "EVM",
"toAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"tokenAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"expiresAt": "2023-11-07T05:31:56Z",
"maxAmount": "<string>"
}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"
The ID of the signature policy for the wallet
EVM, SVM, SUI, BTC, TON Array of allowed destination addresses
Valid blockchain wallet address, must be an alphanumeric string without any special characters
255"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Array of allowed token contract addresses
Valid blockchain wallet address, must be an alphanumeric string without any special characters
255"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Time limit in seconds until the policy expires. Must be greater than 0 seconds.
x >= 1Maximum amount allowed for transactions (as string to handle bigint). Must be a non-negative integer.
WAAS signature policy updated successfully
36"95b11417-f18f-457f-8804-68e361f9164f"
36"95b11417-f18f-457f-8804-68e361f9164f"
EVM, SVM, SUI, BTC, TON Array of allowed destination addresses
Valid blockchain wallet address, must be an alphanumeric string without any special characters
255"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Array of allowed token contract addresses
Valid blockchain wallet address, must be an alphanumeric string without any special characters
255"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Timestamp when the policy expires
Maximum amount allowed for transactions (as string to handle bigint). Must be a non-negative integer.
Was this page helpful?