Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ManagedBlockchainQuery

import { ManagedBlockchainQuery } from "https://aws-api-bqtgftz736ft.deno.dev/v0.5/services/managedblockchainquery.ts?docs=full";
class ManagedBlockchainQuery {
constructor(apiFactory: client.ApiFactory);
async batchGetTokenBalance(params?: BatchGetTokenBalanceInput, opts?: client.RequestOptions): Promise<BatchGetTokenBalanceOutput>;
async getAssetContract(params: GetAssetContractInput, opts?: client.RequestOptions): Promise<GetAssetContractOutput>;
async getTokenBalance(params: GetTokenBalanceInput, opts?: client.RequestOptions): Promise<GetTokenBalanceOutput>;
async getTransaction(params: GetTransactionInput, opts?: client.RequestOptions): Promise<GetTransactionOutput>;
async listAssetContracts(params: ListAssetContractsInput, opts?: client.RequestOptions): Promise<ListAssetContractsOutput>;
async listFilteredTransactionEvents(params: ListFilteredTransactionEventsInput, opts?: client.RequestOptions): Promise<ListFilteredTransactionEventsOutput>;
async listTokenBalances(params: ListTokenBalancesInput, opts?: client.RequestOptions): Promise<ListTokenBalancesOutput>;
async listTransactionEvents(params: ListTransactionEventsInput, opts?: client.RequestOptions): Promise<ListTransactionEventsOutput>;
async listTransactions(params: ListTransactionsInput, opts?: client.RequestOptions): Promise<ListTransactionsOutput>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new ManagedBlockchainQuery(apiFactory: client.ApiFactory)
[src]

§Methods

§

Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request.

Note: Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.

§
getAssetContract(params: GetAssetContractInput, opts?: client.RequestOptions): Promise<GetAssetContractOutput>
[src]

Gets the information about a specific contract deployed on the blockchain.

Note: - The Bitcoin blockchain networks do not support this operation. - Metadata is currently only available for some ERC-20 contracts. Metadata will be available for additional contracts in the future.

§
getTokenBalance(params: GetTokenBalanceInput, opts?: client.RequestOptions): Promise<GetTokenBalanceOutput>
[src]

Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.

Note: Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.

§
getTransaction(params: GetTransactionInput, opts?: client.RequestOptions): Promise<GetTransactionOutput>
[src]

Gets the details of a transaction.

Note: This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.

§

Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).

The Bitcoin blockchain networks do not support this operation.

§

Lists all the transaction events for an address on the blockchain.

Note: This operation is only supported on the Bitcoin networks.

§

This action returns the following for a given blockchain network:

  • Lists all token balances owned by an address (either a contract address or a wallet address).
  • Lists all token balances for all tokens created by a contract.
  • Lists all token balances for a given token.

Note: You must always specify the network property of the tokenFilter when using this operation.

§

Lists all the transaction events for a transaction

Note: This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.

§
listTransactions(params: ListTransactionsInput, opts?: client.RequestOptions): Promise<ListTransactionsOutput>
[src]

Lists all the transaction events for a transaction.

§Static Properties