View Source AWS.ManagedBlockchainQuery (aws-elixir v1.0.0)

Amazon Managed Blockchain (AMB) Query provides you with convenient access to multi-blockchain network data, which makes it easier for you to extract contextual data related to blockchain activity.

You can use AMB Query to read data from public blockchain networks, such as Bitcoin Mainnet and Ethereum Mainnet. You can also get information such as the current and historical balances of addresses, or you can get a list of blockchain transactions for a given time period. Additionally, you can get details of a given transaction, such as transaction events, which you can further analyze or use in business logic for your applications.

Summary

Functions

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

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

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

Gets the details of a transaction.

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

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

This action returns the following for a given blockchain network

Lists all the transaction events for a transaction

Lists all the transaction events for a transaction.

Functions

Link to this function

batch_get_token_balance(client, input, options \\ [])

View Source

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

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

Link to this function

get_asset_contract(client, input, options \\ [])

View Source

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

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.

Link to this function

get_token_balance(client, input, options \\ [])

View Source

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

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

Link to this function

get_transaction(client, input, options \\ [])

View Source

Gets the details of a transaction.

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

Link to this function

list_asset_contracts(client, input, options \\ [])

View Source

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.

Link to this function

list_filtered_transaction_events(client, input, options \\ [])

View Source

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

This operation is only supported on the Bitcoin networks.

Link to this function

list_token_balances(client, input, options \\ [])

View Source

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.

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

Link to this function

list_transaction_events(client, input, options \\ [])

View Source

Lists all the transaction events for a transaction

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

Link to this function

list_transactions(client, input, options \\ [])

View Source

Lists all the transaction events for a transaction.