Skip to main content
PUT
/
wallet
/
{groupId}
Update Address Group
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..."
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key from depo.to dashboard

Path Parameters

groupId
string
required

The address group ID

Body

application/json
sponsoring
enum<string>
required

Fee sponsoring type

Available options:
ALL,
STABLES,
SAME_ASSET,
NONE
Example:

"STABLES"

Response

Address group updated successfully

groupId
object
addresses
object
transactions
object[]