latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Wallet Policy
Update wallet-policy rule
Updates a rule on the policy attached to a wallet.
put/api/v2/{coin}/wallet/{walletId}/policy/rule
Path parameters
coinstring required
A cryptocurrency symbol or token ticker symbol
Example:btc
Coin or token identifier (e.g. eth, talgo, txlm:token)
walletIdstring required
Example:59cd72485007a239fb00282ed480da1f
The wallet ID
Request body
Example request
{
"coin": "btc"
}Response
OK
Example response
{
"approvalsRequired": 1,
"coin": "btc",
"id": "59cd72485007a239fb00282ed480da1f",
"label": "My Wallet",
"admin": {
"policy": {
"id": "59cd72485007a239fb00282ed480da1f",
"rules": [
{
"coin": "btc",
"condition": {
"amountString": "2000000"
}
}
],
"walletId": "59cd72485007a239fb00282ed480da1f"
}
},
"buildDefaults": {
"minFeeRate": 12000
},
"custodialWalletId": "59cd72485007a239fb00282ed480da1f",
"enterprise": "59cd72485007a239fb00282ed480da1f",
"evmKeyRingReferenceWalletId": "59cd72485007a239fb00282ed480da1f",
"isParent": true,
"enabledChildChains": [
"tbsc",
"tpolygon"
],
"archivedChildChains": [
"tbsc",
"tpolygon"
],
"keys": [
"585951a5df8380e0e304a553",
"585951a5df8380e0e30d645c",
"585951a5df8380e0e30b6147"
],
"m": 2,
"n": 3,
"receiveAddress": {
"coin": "btc",
"id": "59cd72485007a239fb00282ed480da1f",
"address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS",
"balance": {
"balanceString": "500000",
"confirmedBalanceString": "400000",
"spendableBalanceString": "40000",
"balance": 50000
},
"label": "Bob's Hot Wallet Address"
},
"safe": "59cd72485007a239fb00282ed480da1f"
}