cURL
curl --request PUT \ --url https://api.depo.to/wallet/{groupId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "sponsoring": "STABLES" } '
{ "groupId": { "id": "1234567890", "createdAt": "2021-01-01T00:00:00Z", "targetChain": "ethereum", "targetAddress": "0x742d...", "targetAsset": "0x12ab..." }, "addresses": {}, "transactions": [ { "id": "123", "status": "completed", "amount": "100", "asset": "0x4c9edd5852cd905f086c759e8383e09bff1e68b3", "chain": "ethereum", "address": "0x1234..." } ] }
Modify sponsoring settings for an address group
API key from depo.to dashboard
The address group ID
Fee sponsoring type
ALL
STABLES
SAME_ASSET
NONE
"STABLES"
Address group updated successfully
Show child attributes