AddressesAddress details

Address details

Full address data: balance (raw + decimal), asset information, the last 20 outgoing and 20 incoming operations. The full paginated feed is GET /vaults/{code}/history?addressId=...

curl -X GET "https://policy-engine-rest.ezig.workers.dev/api/v1/vaults/demo_vault/addresses/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "id": "cmr3f41z20001psp7phmyapw3",
  "address": "TQ5kohbBSdorGoDBmCGUmDL7RUvNr75mBC",
  "derivationPath": "m/44/195/0/0/1/1/0",
  "network": "tron",
  "pathIndex": 42,
  "segmentsJson": {
    "app_id": 0,
    "purpose": 1,
    "asset": 1,
    "stage": 0
  },
  "label": "example_string",
  "description": "example_string",
  "tagsJson": [
    "example_string"
  ],
  "logoUri": "example_string",
  "color": "#000",
  "emoji": "💳",
  "balance": "1500000",
  "balances": [
    {
      "tokenId": "example_string",
      "asset": "usdt",
      "symbol": "USDT",
      "decimals": 42,
      "available": "example_string",
      "availableDecimal": "1.951234",
      "reserved": "example_string",
      "reservedDecimal": "example_string"
    }
  ],
  "tokenId": "example_string",
  "createdAt": "2026-07-02T11:25:15.134000Z",
  "asset": "usdt",
  "assetName": "John Doe",
  "assetSymbol": "USDT",
  "balanceDecimal": "1.5",
  "vault": {
    "id": "example_string",
    "code": "test_vault",
    "name": "John Doe"
  },
  "createdBy": {
    "id": "example_string",
    "name": "John Doe",
    "username": "John Doe",
    "image": "example_string",
    "color": "example_string",
    "emoji": "example_string"
  },
  "owner": {
    "id": "example_string",
    "name": "John Doe",
    "username": "John Doe",
    "image": "example_string",
    "color": "example_string",
    "emoji": "example_string"
  },
  "access": {
    "isOwner": true,
    "isAdmin": true,
    "canView": true,
    "canTransfer": true
  },
  "shares": [
    {
      "id": "example_string",
      "subjectType": "user",
      "subject": {
        "id": "example_string",
        "name": "John Doe",
        "username": "John Doe",
        "image": "example_string",
        "color": "example_string",
        "emoji": "example_string"
      },
      "subjectGroup": {
        "id": "example_string",
        "name": "John Doe"
      },
      "canView": true,
      "canTransfer": true,
      "via": "address",
      "viaGroup": {
        "id": "example_string",
        "name": "John Doe"
      }
    }
  ],
  "transactions": [
    {
      "id": "cmr3f41z20001psp7phmyapw3",
      "toAddress": "123 Main St",
      "amount": "example_string",
      "asset": "example_string",
      "network": "example_string",
      "status": "confirmed",
      "txHash": "example_string",
      "fee": "example_string",
      "failureReason": "example_string",
      "createdAt": "2026-07-02T11:25:15.134000Z",
      "confirmedAt": "2026-07-02T11:25:15.134000Z",
      "decisionPolicyCode": "example_string",
      "amountDecimal": "1.5",
      "assetSymbol": "USDT"
    }
  ],
  "incomingTransactions": [
    {
      "id": "cmr3f41z20001psp7phmyapw3",
      "fromExternal": "example_string",
      "amount": "example_string",
      "asset": "example_string",
      "network": "example_string",
      "txHash": "example_string",
      "block": 42,
      "timestamp": "example_string",
      "createdAt": "2026-07-02T11:25:15.134000Z",
      "amountDecimal": "1.5",
      "assetSymbol": "USDT"
    }
  ]
}
GET
/api/v1/vaults/{code}/addresses/{id}
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Session token. Mobile/services. The web uses a cookie.

Session token. Mobile/services. The web uses a cookie.
API Key (cookie: session_token)
session_tokenstring
Required

API key (sent in cookie)

path
codestring
Required

Unique Vault code (slug)

path
idstring
Required

Address id (cuid)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Session token. Mobile/services. The web uses a cookie.

path
parameterstring
Required

API Key for authentication. Provide your API key in the cookie.

Path Parameters

codestring
Required

Unique Vault code (slug)

Example:
demo_vault
idstring
Required

Address id (cuid)

Responses

idstring
Required

cuid

addressstring
Required

On-chain address from Wallet Service

derivationPathstring
Required
networkstring
Required
pathIndexinteger
Required

Dynamic segment value (incrementing)

segmentsJsonobject
Required

Segment code → pathId (excluding network and index)

labelstring
Required
descriptionstring
Required
tagsJsonstring
Required
logoUristring
Required

Link to the address's logo image

colorstring
Required

HEX color

emojistring
Required

Emoji icon

balancestring
Required

raw smallest units

balancesarray
Required

Balances for ALL of the address's tokens, from the ledger, the single source of truth. A token with no ledger account isn't included: "zero" and "this token was never here" are different facts

tokenIdstring
Required

Denormalized address asset: FK to Token (from the path's asset segment)

createdAtstring
Required
assetstring
Required

Address token code (from segmentsJson + asset route)

assetNamestring
Required
assetSymbolstring
Required
balanceDecimalstring
Required

Balance in decimal (by token.decimals)

vaultobject
Required
createdByobject
Required

Address owner (legacy; no email). The canonical one is owner below

ownerstring
Required

Address owner with UI metadata (for the "whose address" avatar)

accessobject
Required

The current user's permissions on this address

sharesarray
Required

Who has access to the address (people/groups, direct and via an address group). Visible to anyone with view access.

transactionsarray
Required

Last 20 outgoing

incomingTransactionsarray
Required

Last 20 incoming