# Create Asset Info

Create asset infos in the Fordefi platform.

Endpoint: POST /api/v1/assets/asset-infos
Version: 0.2.0
Security: bearerAuth

## Request fields (application/json):

  - `asset_identifier` (any, required)

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

  - `asset_identifier.details` (any, required)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

## Response 200 fields (application/json):

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

  - `asset_identifier` (any, required)

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

  - `asset_identifier.details` (any, required)

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

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

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

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

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

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

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

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

  - `asset_identifier.chain` (object, required)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  - `decimals` (integer, required)

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

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

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

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

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

  - `issuer_name` (string)
    Best-effort display name of the issuer

## 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.

