list_transactions
¶
list_transactions(
address: ChainAddress,
network: QueryNetwork,
*,
config_overrides: Optional[ManagedBlockchainQueryClientConfig] = None,
from_blockchain_instant: Optional[BlockchainInstant] = None,
to_blockchain_instant: Optional[BlockchainInstant] = None,
sort: Optional[ListTransactionsSort] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[int] = None,
confirmation_status_filter: Optional[ConfirmationStatusFilter] = None,
) -> ListTransactionsOutput
Lists all the transaction events for a transaction.
Parameters:
-
address(ChainAddress) –The address (either a contract or wallet), whose transactions are being requested.
-
network(QueryNetwork) –The blockchain network where the transactions occurred.
-
sort(Optional[ListTransactionsSort], default:None) –The order by which the results will be sorted.
-
next_token(Optional[NextToken], default:None) –The pagination token that indicates the next set of results to retrieve.
-
max_results(Optional[int], default:None) –The maximum number of transactions to list.
Default:
100Even if additional results can be retrieved, the request can return less results than
maxResultsor an empty array of results.To retrieve the next set of results, make another request with the returned
nextTokenvalue. The value ofnextTokenisnullwhen there are no more results to return -
confirmation_status_filter(Optional[ConfirmationStatusFilter], default:None) –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.
Raises:
-
AccessDeniedException–The Amazon Web Services account doesn’t have access to this resource.
-
InternalServerException–The request processing has failed because of an internal error in the service.
-
ServiceQuotaExceededException–The service quota has been exceeded for this resource.
-
ThrottlingException–The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
-
ValidationException–The resource passed is invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_managedblockchain_query/_services/managed_blockchain_query.py
821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 | |