Skip to main content

chainUnspentOutputs

Query the network to retrieve the unspent output of a chain (address should be the genesis address of the chain)

chainUnspentOutputs(
address: Address!
limit: PosInteger
pagingOffset: Sha256Hash
): [UnspentOutput]

Arguments

chainUnspentOutputs.address ● Address! non-null scalar

chainUnspentOutputs.limit ● PosInteger scalar

chainUnspentOutputs.pagingOffset ● Sha256Hash scalar

Type

UnspentOutput object

[UnspentOutput] represents the remaining unspent output of the transaction. It includes:

  • From: transaction which send the amount of assets
  • Amount: asset amount
  • Type: UCO / token / state
  • token address: address of the token if the type is token
  • token id: It is the id for a token which is allocated when the token is minted.
  • Timestamp: Date time when the UTXO created/manipulated
  • State: It is the state of a smart contract