Class ListTokenBalancesRequest

    • Method Detail

      • ownerFilter

        public final OwnerFilter ownerFilter()

        The contract or wallet address on the blockchain network by which to filter the request. You must specify the address property of the ownerFilter when listing balances of tokens owned by the address.

        Returns:
        The contract or wallet address on the blockchain network by which to filter the request. You must specify the address property of the ownerFilter when listing balances of tokens owned by the address.
      • tokenFilter

        public final TokenFilter tokenFilter()

        The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress property of this container when listing tokens minted by a contract.

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

        Returns:
        The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress property of this container when listing tokens minted by a contract.

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

      • nextToken

        public final String nextToken()

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

        Returns:
        The pagination token that indicates the next set of results to retrieve.
      • maxResults

        public final Integer maxResults()

        The maximum number of token balances to return.

        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

        Returns:
        The maximum number of token balances to return.

        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

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object