Policies
List the wallet's session policies
Grant material (calldata, signatures) is never echoed.
get/wallets/{address}/policies
Response
Policies for this wallet, newest first.
Example response
{
"items": [
{
"id": "01JG2FE5MDVKBPHEG0PEYSDKAC",
"runner": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"chainId": 11155111,
"sessionSigner": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"allowedActions": [
{
"target": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
}
],
"erc20SpendCap": {
"token": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"amount": "500000000"
},
"onChainCleanup": {
"target": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
}
}
]
}Changes
Changed in 2 of the 16 revisions of this API.2
- ○
added the optional property
items/items/onChainCleanupto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○