ManagedBlockchainQuery / Paginator / ListAssetContracts


class ManagedBlockchainQuery.Paginator.ListAssetContracts#
paginator = client.get_paginator('list_asset_contracts')

Creates an iterator that will paginate through responses from ManagedBlockchainQuery.Client.list_asset_contracts().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'tokenStandard': 'ERC20'|'ERC721'|'ERC1155',
        'deployerAddress': 'string'
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
  • contractFilter (dict) –


    Contains the filter parameter for the request.

    • network (string) – [REQUIRED]

      The blockchain network of the contract.

    • tokenStandard (string) – [REQUIRED]

      The container for the token standard.

    • deployerAddress (string) – [REQUIRED]

      The network address of the deployer.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:



Response Syntax

    'contracts': [
            'contractIdentifier': {
                'contractAddress': 'string'
            'tokenStandard': 'ERC20'|'ERC721'|'ERC1155',
            'deployerAddress': 'string'
    'NextToken': 'string'

Response Structure

  • (dict) –

    • contracts (list) –

      An array of contract objects that contain the properties for each contract.

      • (dict) –

        This container contains information about an contract.

        • contractIdentifier (dict) –

          The container for the contract identifier containing its blockchain network and address.

          • network (string) –

            The blockchain network of the contract.

          • contractAddress (string) –

            Container for the blockchain address about a contract.

        • tokenStandard (string) –

          The token standard of the contract.

        • deployerAddress (string) –

          The address of the contract deployer.

    • NextToken (string) –

      A token to resume pagination.