Skip to main content

UnspentOutput

[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
type UnspentOutput {
amount: Int
from: Address
state: State
timestamp: Timestamp
tokenAddress: Address
tokenId: Int
type: String
}

Fields

UnspentOutput.amount ● Int scalar

UnspentOutput.from ● Address scalar

UnspentOutput.state ● State scalar

UnspentOutput.timestamp ● Timestamp scalar

UnspentOutput.tokenAddress ● Address scalar

UnspentOutput.tokenId ● Int scalar

UnspentOutput.type ● String scalar

Returned by

chainUnspentOutputs query

Member of

LedgerOperations object