Narval | Docs
GithubHome
  • Narval Connect
    • Overview
    • Getting Started
  • Security Overview
  • Providers
    • Providers
      • Anchorage
      • BitGo
      • Fireblocks
  • Guide
    • ConnectClient
    • Connect Widget
      • initiateConnect
      • completeConnect
    • Using a Connection
      • listWallets
      • getWalletById
      • listAccounts
      • getAccountById
      • listAddresses
      • getAddressById
      • listKnownDestinations
      • sendTransfer
      • getTransfer
      • EVM Transactions
        • sendTransaction
        • getTransactionById
        • signMessage
        • getSignMessageById
        • signTypedData
        • getTypedDataById
      • Staking
        • Ethereum (ETH)
        • Polygon (POL)
        • Solana (SOL)
        • Sui (SUI)
      • Raw Signing
        • signRaw
        • getRawSignRequest
    • Manage Connections
      • listConnections
      • getConnection
      • revokeConnection
  • API Reference
    • REST API
      • Authorization
      • Connect Widget
      • Networks & Assets
      • Wallets, Accounts, Addresses
      • Known Destinations
      • Transfer
      • Stake
        • Ethereum
        • Polygon
        • Solana
        • Sui
      • Transactions
        • Ethereum (EVM)
      • Raw Signing
      • Transit Encryption Key
      • Manage Connections
Powered by GitBook
On this page
  1. API Reference
  2. REST API

Networks & Assets

PreviousConnect WidgetNextWallets, Accounts, Addresses

Last updated 1 month ago

List all networks

get

This endpoint retrieves a list of all available networks.

Query parameters
providerstring ยท enumOptional

The provider to filter networks by

Possible values:
coinTypenumberOptional

The SLIP-44 coin type to filter networks by (use 1 for all testnets)

cursorstringOptional

Cursor for pagination. Use the next cursor from previous response to get next page

limitnumberOptional

Number of records to return per page

orderBystringOptional

Field to order results by

descstringOptional

Set to "true" or "1" for descending order

Header parameters
x-client-idstringRequired
Responses
200
The networks were successfully retrieved.
application/json
400
Invalid request parameters
application/json
401
Authentication is required
application/json
403
Insufficient permissions
application/json
404
Resource not found
application/json
409
Resource conflict
application/json
422
Unable to process the contained instructions
application/json
500
Internal server error
application/json
502
Bad gateway
application/json
get
GET /v1/provider/networks HTTP/1.1
Host: auth.armory.playnarval.com
x-client-id: text
Accept: */*
{
  "data": [
    {
      "networkId": "text",
      "coinType": 1,
      "evmChainId": 1,
      "name": "text",
      "externalNetworks": [
        {
          "externalId": "text",
          "provider": "anchorage",
          "supportsStake": true,
          "supportsEvm": true,
          "supportsTransfer": true,
          "customStakingValidator": true
        }
      ],
      "createdAt": null
    }
  ],
  "page": {
    "next": "text"
  }
}

List assets

get

Returns a list of assets for the specified provider.

Query parameters
cursorstringOptional

Cursor for pagination. Use the next cursor from previous response to get next page

limitnumberOptional

Number of records to return per page

orderBystringOptional

Field to order results by

descstringOptional

Set to "true" or "1" for descending order

providerstringOptional

The provider to filter assets by

Header parameters
x-client-idstringRequired
Responses
200
Returns a paginated list of assets for the specified provider
application/json
400
Invalid request parameters
application/json
401
Authentication is required
application/json
403
Insufficient permissions
application/json
404
Resource not found
application/json
409
Resource conflict
application/json
422
Unable to process the contained instructions
application/json
500
Internal server error
application/json
502
Bad gateway
application/json
get
GET /v1/provider/assets HTTP/1.1
Host: auth.armory.playnarval.com
x-client-id: text
Accept: */*
{
  "data": [
    {
      "assetId": "text",
      "createdAt": null,
      "decimals": 1,
      "externalAssets": [
        {
          "externalId": "text",
          "provider": "anchorage"
        }
      ],
      "name": "text",
      "networkId": "text",
      "onchainId": "text",
      "symbol": "text"
    }
  ],
  "page": {
    "next": "text"
  }
}
  • GETList all networks
  • GETList assets