Skip to content

ListTransactionsInput

Source code in docs_src/capo_managedblockchain_query/types/list_transactions_input.py
class ListTransactionsInput(TypedDict, closed=True):
    address: "capo_managedblockchain_query.types.chain_address.ChainAddress"
    """<p>The address (either a contract or wallet), whose transactions are being requested.</p>"""
    network: "capo_managedblockchain_query.types.query_network.QueryNetwork"
    """<p>The blockchain network where the transactions occurred.</p>"""
    from_blockchain_instant: NotRequired[
        "capo_managedblockchain_query.types.blockchain_instant.BlockchainInstant"
    ]
    to_blockchain_instant: NotRequired[
        "capo_managedblockchain_query.types.blockchain_instant.BlockchainInstant"
    ]
    sort: NotRequired[
        "capo_managedblockchain_query.types.list_transactions_sort.ListTransactionsSort"
    ]
    """<p>The order by which the results will be sorted. </p>"""
    next_token: NotRequired["capo_managedblockchain_query.types.next_token.NextToken"]
    """<p>The pagination token that indicates the next set of results to retrieve.</p>"""
    max_results: NotRequired["int"]
    """<p>The maximum number of transactions to list.</p> <p>Default: <code>100</code> </p> <note> <p>Even if additional results can be retrieved, the request can return less results than <code>maxResults</code> or an empty array of results.</p> <p>To retrieve the next set of results, make another request with the returned <code>nextToken</code> value. The value of <code>nextToken</code> is <code>null</code> when there are no more results to return</p> </note>"""
    confirmation_status_filter: NotRequired[
        "capo_managedblockchain_query.types.confirmation_status_filter.ConfirmationStatusFilter"
    ]
    """<p>This filter is used to include transactions in the response that haven't reached <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality"> <i>finality</i> </a>. Transactions that have reached finality are always part of the response.</p>"""

address instance-attribute

address: ChainAddress

The address (either a contract or wallet), whose transactions are being requested.

confirmation_status_filter instance-attribute

confirmation_status_filter: NotRequired[ConfirmationStatusFilter]

This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.

from_blockchain_instant instance-attribute

from_blockchain_instant: NotRequired[BlockchainInstant]

max_results instance-attribute

max_results: NotRequired[int]

The maximum number of transactions to list.

Default: 100

Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results.

To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return

network instance-attribute

network: QueryNetwork

The blockchain network where the transactions occurred.

next_token instance-attribute

next_token: NotRequired[NextToken]

The pagination token that indicates the next set of results to retrieve.

sort instance-attribute

sort: NotRequired[ListTransactionsSort]

The order by which the results will be sorted.

to_blockchain_instant instance-attribute

to_blockchain_instant: NotRequired[BlockchainInstant]