Class: Aws::ManagedBlockchainQuery::Types::ListTokenBalancesInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-managedblockchainquery/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of token balances to return.

Default: ‘100`

<note markdown=“1”> 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

</note>

Returns:

  • (Integer)


697
698
699
700
701
702
703
704
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 697

class ListTokenBalancesInput < Struct.new(
  :owner_filter,
  :token_filter,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


697
698
699
700
701
702
703
704
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 697

class ListTokenBalancesInput < Struct.new(
  :owner_filter,
  :token_filter,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#owner_filterTypes::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:



697
698
699
700
701
702
703
704
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 697

class ListTokenBalancesInput < Struct.new(
  :owner_filter,
  :token_filter,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#token_filterTypes::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.

<note markdown=“1”> You must always specify the network property of this container when using this operation.

</note>

Returns:



697
698
699
700
701
702
703
704
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 697

class ListTokenBalancesInput < Struct.new(
  :owner_filter,
  :token_filter,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end