Dfns API Documentation
  • 👋Welcome
  • Getting Started
    • Onboarding to Dfns
    • Dfns Environments
    • Core API Objects
    • Supported Assets
    • Postman
    • Dfns SDKs
    • Dashboard Videos
  • API Docs
    • Introduction
    • Authentication
      • Delegated Authentication
        • Delegated Registration
        • Delegated Registration Restart
        • Delegated Login
      • User Action Signing
        • Create User Action Signature Challenge
        • Create User Action Signature
      • Registration
        • Create User Registration Challenge
        • Complete User Registration
        • Complete End User Registration with Wallets
        • Resend Registration Code
        • Social Registration
      • Login
        • Create User Login Challenge
        • Complete User Login
        • Social Login
        • Logout
        • Send Login Code
      • Users
        • List Users
        • Create User
        • Get User
        • Activate User
        • Deactivate User
        • Archive User
      • Service Accounts
        • List Service Accounts
        • Create Service Account
        • Get Service Account
        • Update Service Account
        • Activate Service Account
        • Deactivate Service Account
        • Archive Service Account
      • Applications
        • List Applications
        • Create Application
        • Create Server-Signed Application
        • Get Application
        • Update Application
        • Activate Application
        • Deactivate Application
        • Archive Application
      • Personal Access Tokens
        • List Personal Access Tokens
        • Create Personal Access Token
        • Get Personal Access Token
        • Update Personal Access Token
        • Activate Personal Access Token
        • Deactivate Personal Access Token
        • Archive Personal Access Token
      • Credentials
        • Credentials Overview
        • API Reference
          • Create Credential Code
          • Create Credential Challenge
          • Create Credential Challenge With Code
          • Create Credential
          • Create Credential With Code
          • Deactivate Credential
          • Activate Credential
          • List Credentials
      • Recovery
        • Send Recovery Code Email
        • Create Recovery Challenge
        • Create Delegated Recovery Challenge
        • Recover User
    • Wallets
      • Create Wallet
      • Update Wallet
      • Delete Wallet
      • [deprecated] Delegate Wallet
      • Get Wallet by ID
      • List Wallets
      • Get Wallet Assets
      • Get Wallet NFTs
      • Get Wallet History
      • Tag Wallet
      • Untag Wallet
      • Transfer Asset
      • Get Transfer Request by ID
      • List Transfer Requests
      • Sign and Broadcast Transaction
        • Algorand
        • Aptos
        • Bitcoin / Litecoin
        • Canton
        • Cardano
        • EVM
        • Solana
        • Stellar
        • Tezos
        • TRON
        • XRP Ledger (Ripple)
      • Get Transaction Request by ID
      • List Transaction Requests
      • [deprecated] Generate Signature
      • Advanced Wallet APIs
        • Import Wallet
        • [deprecated] Export Wallet
    • Fee Sponsors
      • Create Fee Sponsor
      • Get Fee Sponsor
      • List Fee Sponsors
      • Activate Fee Sponsor
      • Deactivate Fee Sponsor
      • Delete Fee Sponsor
      • List Sponsored Fees
    • Keys
      • Create Key
      • Update Key
      • Delete Key
      • Delegate Key
      • Get Key by ID
      • List Keys
      • Generate Signature
        • Algorand
        • Aptos
        • Bitcoin / Litecoin
        • Cardano
        • Cosmos Appchain
        • EVM
        • Solana
        • Stellar
        • Substrate (Polkadot)
        • Tezos
        • TON
        • TRON
        • XRP Ledger (Ripple)
      • Get Signature Request by ID
      • List Signature Requests
      • Advanced Key APIs
        • Import Key
        • Export Key
        • Deterministic Derivation
    • Networks
      • Estimate fees
      • Read Contract
      • Validators
        • Create Validator
        • List Validators
    • Policy Engine
      • Policies Overview
      • API Reference
        • Create Policy
        • Get Policy
        • List Policies
        • Update Policy
        • Archive Policy
        • Get Approval
        • List Approvals
        • Create Approval Decision
    • Permissions
      • Permissions Overview
      • API Reference
        • Get Permission
        • List Permissions
        • Create Permission
        • Update Permission
        • Archive Permission
        • Assign Permission
        • Revoke Permission
        • List Permission Assignments
    • Webhooks
      • Create Webhook
      • Get Webhook
      • List Webhooks
      • Update Webhook
      • Delete Webhook
      • Ping Webhook
      • Get Webhook Event
      • List Webhook Events
    • Dfns Change Log
    • API Errors
  • Integrations
    • Exchanges
      • Kraken
      • Binance
      • Coinbase Prime
      • API Reference
        • Create Exchange
        • List Exchanges
        • Get Exchange
        • Delete Exchange
        • List Exchange Accounts
        • List Exchange Account Assets
        • Create Exchange Deposit
        • Create Exchange Withdrawal
    • AML / KYT
      • Chainalysis
    • Staking
      • API Reference
        • Create Stake
        • Create Stake Action
        • List Stakes
        • List Stake Actions
        • get Rewards
    • Fiat On/Off-Ramps
    • Account Abstraction on EVMs
  • Advanced Topics
    • Authentication
      • API Authentication
      • Request Headers
      • Credentials
        • Generate a Key Pair
        • User Credentials
        • Access Token Credentials
        • Storing WebAuthn Credentials in Password Managers
      • Request Signing
      • API objects
    • Delegated Signing
    • API Idempotency
    • FAQ
  • Guides
    • Passkey Settings - Migration guide
    • Keys & Multichain - Migration Guide
Powered by GitBook
On this page
  • Required Permissions
  • Parameters
  • Path parameters
  • Query parameters
  • Response Body
  • Native Asset Fields
  • ERC-20 Asset Fields
  • Algorand Asset Fields
  • Aptos Asset Fields
  • Iota LockedCoin Asset Fields
  • Solana Asset Fields
  • Stellar Asset Fields
  • TON Jetton Asset Fields
  • TRON TRC-10 Asset Fields
  • TRON TRC-20 Asset Fields
  1. API Docs
  2. Wallets

Get Wallet Assets

Last updated 1 month ago

GET /wallets/{walletId}/assets

Retrieves a list of assets owned by the specified wallet. Return values vary by chain as shown below.

  • Request headers required. See for more information.

  • Authentication required. See for more information.

Required Permissions

Name
Conditions

Wallets:Read

Always Required

Parameters

Path parameters

Path parameter
Description

walletId

Unique identifier of the wallet.

Query parameters

Query parameter
Description
Type - Optional

netWorth

Set to string value true to quote the wallet's total asset value in USD.

String (optional)

Response Body

Field
Description
Type - Optional

walletId

ID of the wallet.

String

network

Network used for the wallet.

String

assets

A list of asset balances the wallet holds. Fields will vary depending on asset kind, see below.

Array<Asset>

netWorth

Total net worth of the wallet converted to USD. The value will only include Coingecko listed assets.

Record<"USD", Decimal>

Native Asset Fields

Field
Description
Type - Optional

kind

Asset kind is always Native.

String

symbol

Asset symbol.

String

decimals

The smallest unit the token can be divided.

Integer

balance

The balance in the smallest token unit.

String

verified

All native assets are verified. For fungible tokens, whethher the token identities have been verified using the information provided by the token projects.

Boolean (optional)

quotes

For Coingecko listed assets, the value of holding converted to USD.

Record<"USD", Decimal> (optional)

{
  "walletId": "wa-1f04s-lqc9q-xxxxxxxxxxxxxxxx",
  "network": "Ethereum",
  "assets": [
    {
      "kind": "Native",
      "symbol": "ETH",
      "decimals": 18,
      "verified": true,
      "balance": "1000000000000000000"
    },
    ...
  ]
}

ERC-20 Asset Fields

Field
Description
Type - Optional

kind

String

contract

The ERC-20 smart contract address of the fungible token.

String

{
  "walletId": "wa-1f04s-lqc9q-xxxxxxxxxxxxxxxx",
  "network": "Ethereum",
  "assets": [
    {
      "kind": "Erc20",
      "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "symbol": "USDC",
      "decimals": 6,,
      "verified": true,
      "balance": "100000000000000000000"
    },
    ...
  ]
}

Algorand Asset Fields

Field
Description
Type - Optional

kind

String

assetId

The asset ID.

String

{
  "walletId": "wa-341e6-12nj6-xxxxxxxxxxxxxxxx",
  "network": "Algorand",
  "assets": [
    {
       "kind": "Asa",
       "assetId": "31566704",
       "symbol": "USDC",
       "decimals": 6,
       "verified": true,
       "balance": "200000000"
    },
    ...
  ]
}

Aptos Asset Fields

Field
Description
Type - Optional

kind

String

metadata

The asset's metadata address.

String

{
  "walletId": "wa-4jbf7-s8lob-xxxxxxxxxxxxxxxx",
  "network": "Aptos",
  "assets": [
    {
       "kind": "Aip21",
       "metadata": "0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b",
       "symbol": "USDC",
       "decimals": 6,
       "verified": true,
       "balance": "200000000"
    },
    ...
  ]
}

Iota LockedCoin Asset Fields

Field
Description
Type - Optional

kind

String

coin

The coin object type of the timelocked coin.

String

{
  "walletId": "wa-4to1j-8tho9-xxxxxxxxxxxxxxxx",
  "network": "Iota",
  "assets": [
    {
       "kind": "LockedCoin",
       "coin": "0x2::iota::IOTA",
       "symbol": "IOTA",
       "decimals": 9,
       "verified": true,
       "balance": "100000000000"
    },
    ...
  ]
}

Solana Asset Fields

Field
Description
Type - Optional

kind

String

mint

The token program's mint address.

String

{
  "walletId": "wa-270b0-f5bng-xxxxxxxxxxxxxxxx",
  "network": "Solana",
  "assets": [
    {
      "kind": "Spl",
      "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "symbol": "USDC",
      "decimals": 6,
      "verified": true,
      "balance": "10000000"
    },
    ...
  ]
}

Stellar Asset Fields

Field
Description
Type - Optional

kind

String

issuer

The asset issuer address.

String

assetCode

The asset code.

String

{
  "walletId": "wa-1ho2b-20tfb-xxxxxxxxxxxxxxxx",
  "network": "Stellar",
  "assets": [
    {
        "kind": "Sep41",
        "issuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
        "assetCode": "USDC",
        "symbol": "USDC",
        "decimals": 7,
        "verified": true,
        "balance": "99999999999"
    },
    ...
  ]
}

TON Jetton Asset Fields

Field
Description
Type - Optional

kind

String

master

The Jetton master smart contract address.

String

{
  "walletId": "wa-5iu4b-gp4pk-xxxxxxxxxxxxxxxx",
  "network": "Ton",
  "assets": [
    {
        "kind": "Tep74",
        "master": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",
        "symbol": "USDâ‚®",
        "decimals": 6,
        "verified": true,
        "balance": "99999999999999"
    },
    ...
  ]
}

TRON TRC-10 Asset Fields

Field
Description
Type - Optional

kind

String

tokenId

The TRC-10 token ID.

String

{
  "walletId": "wa-174tk-m918i-xxxxxxxxxxxxxxxx",
  "network": "Tron",
  "assets": [
    {
        "kind": "Trc20",
        "tokenId": "1004777",
        "symbol": "USDD",
        "decimals": 6,
        "verified": true,
        "balance": "99999000000"
    },
    ...
  ]
}

TRON TRC-20 Asset Fields

Field
Description
Type - Optional

kind

String

contract

The TRC-20 smart contract address.

String

{
  "walletId": "wa-174tk-m918i-xxxxxxxxxxxxxxxx",
  "network": "Tron",
  "assets": [
    {
        "kind": "Trc20",
        "contract": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
        "symbol": "USDT",
        "decimals": 6,
        "verified": true,
        "balance": "99999000000"
    },
    ...
  ]
}

Erc20, the Ethereum fungible token .

Asa, aka .

Aip21, the Aptos fungible asset .

LockedCoin for timelocked .

Asset kind is either Spl for , or Spl2022 for the newly upgraded .

Sep41 for .

Tep74 for .

Trc10, TRON fungible tokens.

Trc20, fungible tokens.

standard
Algorand standard asset
standard
coin assets
Solana Program Library tokens
token program
Classic Stellar Assets
Jetton fungible tokens
native
smart contract based
Request Headers
Authentication Headers