# Get Vault Assets

Get a list of all assets in a vault.

Endpoint: GET /api/v1/vaults/{id}/assets
Version: 0.2.0
Security: bearerAuth

## Path parameters:

  - `id` (string, required)
    ID of the vault to retrieve.

## Query parameters:

  - `page` (integer)
    The page number to fetch.

  - `size` (integer)
    The number of items per page.

  - `skip_count` (boolean)
    Whether to skip counting the total number of items.

  - `chains` (array)

  - `asset_ids` (array)

  - `is_hidden` (boolean)

  - `search` (string)

  - `sort_by` (array)

## Response 200 fields (application/json):

  - `total` (integer, required)

  - `page` (integer, required)

  - `size` (integer, required)

  - `owned_assets` (array, required)

  - `owned_assets.priced_asset` (object, required)

  - `owned_assets.priced_asset.type` (string, required)

  - `owned_assets.priced_asset.asset_info` (object, required)

  - `owned_assets.priced_asset.asset_info.id` (string, required)
    The asset ID.

  - `owned_assets.priced_asset.asset_info.asset_identifier` (any, required)

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Aptos asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.details` (any, required)

  - `owned_assets.priced_asset.asset_info.asset_identifier.details.type` (string, required)
    Aptos asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.details.chain` (string, required)
    Enum: "aptos_mainnet", "aptos_testnet", "aptos_movement_mainnet", "aptos_movement_testnet"

  - `owned_assets.priced_asset.asset_info.asset_identifier.details.type` (string, required)
    Legacy coin asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.details.coin_type` (object, required)
    Coin type represents a blockchain legacy coin type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.details.coin_type.coin_type_str` (string, required)
    Coin type string representation.

  - `owned_assets.priced_asset.asset_info.asset_identifier.details.type` (string, required)
    New coin asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.details.new_coin_type` (object, required)
    New coin type represents a blockchain new coin type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.details.new_coin_type.metadata_address` (string, required)
    New coin's metadata address.

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain` (object, required)

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.chain_type` (string, required)
    The type of the chain.

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.name` (string, required)
    The full blockchain name.

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.native_currency_symbol` (string, required)
    The native currency symbol.
    Example: ETH

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.native_currency_name` (string, required)
    The native currency name.
    Example: Ether

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.blockchain_explorer` (object)
    A blockchain explorer entry point.

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.blockchain_explorer.transaction_url` (string, required)
    Example: https://etherscan.io/tx/

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.blockchain_explorer.address_url` (string, required)
    Example: https://etherscan.io/address/

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.blockchain_explorer.root_url` (string, required)
    Example: https://etherscan.io/

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.blockchain_explorer.transaction_format_url` (string)
    Example: https://etherscan.io/tx/%s

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.blockchain_explorer.address_format_url` (string)
    Example: https://etherscan.io/address/%s

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.blockchain_explorer.asset_format_url` (string)
    Example: https://etherscan.io/address/%s

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.logo_url` (string, required)
    The logo URL of the chain.

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.is_testnet` (boolean, required)
    Whether the chain is on a testnet.

  - `owned_assets.priced_asset.asset_info.asset_identifier.chain.is_enabled` (boolean, required)
    Whether the chain is enabled.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Arch asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Canton asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Cosmos asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.exchange_type` (string, required)
    Enum: "binance", "bybit", "coinbase_international", "coinbase_us", "okx", "kraken", "paxos"

  - `owned_assets.priced_asset.asset_info.asset_identifier.asset_symbol` (string, required)
    The symbol of the asset on the exchange.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Ripple asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Solana asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Stacks asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Stellar asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Starknet asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Sui asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    TON asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    TRON asset identifier type.

  - `owned_assets.priced_asset.asset_info.asset_identifier.type` (string, required)
    Utxo asset identifier type.

  - `owned_assets.priced_asset.asset_info.name` (string, required)
    The name of the asset.

  - `owned_assets.priced_asset.asset_info.symbol` (string, required)
    The symbol (ticker) of the asset.

  - `owned_assets.priced_asset.asset_info.decimals` (integer, required)

  - `owned_assets.priced_asset.asset_info.verified` (boolean, required)
    `True` if this asset is verified by Fordefi, `False` otherwise.

  - `owned_assets.priced_asset.asset_info.metadata_uri` (string)
    The URI of the asset metadata.

  - `owned_assets.priced_asset.asset_info.is_spam` (boolean, required)
    `True` if this asset is spam, `False` otherwise.

  - `owned_assets.priced_asset.asset_info.logo_url` (string)
    The URL of the asset logo.

  - `owned_assets.priced_asset.asset_info.explorer_url` (string)
    The URL of a blockchain explorer that provides real-time information about the asset.

  - `owned_assets.priced_asset.asset_info.issuer_name` (string)
    Best-effort display name of the issuer

  - `owned_assets.priced_asset.price` (object)
    Price represents a price in a given FiatCurrency.

  - `owned_assets.priced_asset.price.price_float` (string, required)
    The absolute price in the given fiat currency. When is_negative is true the asset's value is the negative of this (e.g. a debt token).
    Example: 1000000000000000000

  - `owned_assets.priced_asset.price.is_negative` (boolean)
    Whether the asset's value is negative (e.g. a debt token). price_float holds the absolute value.

  - `owned_assets.priced_asset.price.fiat_currency` (object, required)

  - `owned_assets.priced_asset.price.fiat_currency.currency_symbol` (string, required)
    FiatCurrencySymbol
    Enum: "usd"

  - `owned_assets.priced_asset.price.fiat_currency.decimals` (integer, required)
    The number of decimals in the fiat currency.

  - `owned_assets.balances` (object, required)
    The cryptocurrency balances of the asset.

  - `owned_assets.balances.total_mined` (string, required)
    The value of all mined assets.
    Example: 1000000000000000000

  - `owned_assets.balances.total_pending_incoming` (string, required)
    The value of all pending incoming assets.
    Example: 1000000000000000000

  - `owned_assets.balances.available_mined` (string, required)
    The value of all available mined assets. Equals to total mined balance minus frozen mined.
    Example: 1000000000000000000

  - `owned_assets.balances.available_pending_incoming` (string, required)
    The value of all available pending incoming assets. Equals to total pending incoming minus frozen pending incoming.
    Example: 1000000000000000000

  - `owned_assets.balances.frozen_mined` (string, required)
    The value of all mined frozen assets.
    Example: 1000000000000000000

  - `owned_assets.balances.frozen_pending_incoming` (string, required)
    The value of all pending incoming frozen assets.
    Example: 1000000000000000000

  - `owned_assets.balances.trustline_limit` (string)
    The trustline limit for Stellar assets. Nil for non-Stellar assets or assets without trustlines.
    Example: 1000000000000000000

  - `owned_assets.balances.is_auto_approved` (boolean)
    (Canton) True if incoming transfers of this asset are auto-accepted via a pre-approval.

## Response 400 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (string, required)
    Detailed error message.

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

  - `system_error_code` (string)
    An additional system error code in Fordefi.

## Response 401 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (string, required)
    Detailed error message.

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

## Response 403 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (string, required)
    Detailed error message.

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

## Response 404 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (string, required)
    Detailed error message.

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

  - `resource` (string)
    Enum: "user", "user_change_proposals", "user_group", "user_group_change_proposal", "vault", "vault_address", "vault_group", "address_group", "transaction", "batch_transaction", "path", "keyset", "auth_token", "access_token", "asset", "asset_info", "vault_derivation_path", "blockchain", "export", "quote", "import_keys_request", "vault_address_account", "exchange_asset_mapping", "dapp_group", "safe_address", "audit_log"

## Response 408 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (string, required)
    Detailed error message.

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

## Response 422 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (array, required)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

## Response 500 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (string, required)
    Detailed error message.

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

