getAllTokens

This endpoint is used to get all tokens in a contract.

public getAllTokens(chain: VyChain, contractAddress: string, query?: VyQuery_GetAllTokens) : VyPromise<VyTokenSummaryDto[]>

Parameters

chain

The blockchain of the contract.

contractAddress

string

The contract address whose tokens you want to fetch.

query (optional)

Query to filter the operation results

Returns

VyPromise<VyTokenSummaryDto[]>

Last updated