Jump to
Ctrl
+
/

List Assets

GET
/assets/{networkType}

Through this endpoint, users can quickly view all their current balances, with the flexibility to filter assets based on their network type, whether it be testnet or mainnet.

Path Parameters

networkType string Required

The specific type of the vault - MAIN or TEST.

Query Parameters

context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

limit integer Optional

Defines how many items should be returned in the response per page basis.

Default : 50
startingAfter string Optional

Defines the id of the previous listed record id from which the current list should start from.

Response Schema

apiVersion string Required

Specifies the version of the API that incorporates this endpoint.

2024-05-09
requestId string Required

Defines the ID of the request. The requestId is generated by Vaultody and it's unique for every request.

601c1710034ed6d407996b30
context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

yourExampleString
data object Required
limit integer Required

Defines how many items should be returned in the response per page basis.

50
startingAfter string Optional

Defines the id of the previous listed record id from which the current list should start from.

5ca21f92cf5431000105d1a7
hasMore boolean Required

Defines whether or not there are more elements available after this set.

true
items array Items (object) Required
allocatedAmount string Required

Allocated amount for the specific asset.

0
availableAmount string Required

Available amount for the specific asset.

0.00023054
blockchain string Required

Represents the specific blockchain protocol name, e.g. Bitcoin, Ethereum etc.

bitcoin
blockedAmount string Required

Blocked amount for the specific asset.

0
exchangeRate string Required

The current exchange rate.

39884.82228404232
id string Required

The specific asset ID.

6523e058a06ebf1322d7dd6f
symbol string Required

The specific symbol - BTC, ETH, BNB, TRX.

BTC
tokenData object Optional
contractAddress string Required

Token identifier.

TF17BgPaZYbz8oxbjhriubPDsA7ArKoLX3
contractType string Required

The specific standard for the token, e.g. TRC-20, BEP-20.

TRC-20
totalAmount string Required

Total amount for the specific asset.

0.00023054
type string Required

The type of the asset - Coin or Token.

COIN
Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2024-05-09",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "startingAfter": "5ca21f92cf5431000105d1a7",
        "hasMore": true,
        "items": [
            {
                "allocatedAmount": "0",
                "availableAmount": "0.00023054",
                "blockchain": "bitcoin",
                "blockedAmount": "0",
                "exchangeRate": "39884.82228404232",
                "id": "6523e058a06ebf1322d7dd6f",
                "symbol": "BTC",
                "tokenData": {
                    "contractAddress": "TF17BgPaZYbz8oxbjhriubPDsA7ArKoLX3",
                    "contractType": "TRC-20"
                },
                "totalAmount": "0.00023054",
                "type": "COIN"
            }
        ]
    }
}