Skip to main content

ConsumedInputs

[ConsumedInputs] represents the inputs consumed by the transaction It includes:

  • From: transaction which send the amount of assets
  • Amount: asset amount
  • Type: UCO / token / state / call
  • 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
  • Protocol Version: Version of the UTXO data structure
  • State: It is the state of a smart contract
type ConsumedInputs {
amount: Int
from: Address
protocolVersion: Int
state: State
timestamp: Timestamp
tokenAddress: Address
tokenId: Int
type: String
}

Fields

ConsumedInputs.amount ● Int scalar

ConsumedInputs.from ● Address scalar

ConsumedInputs.protocolVersion ● Int scalar

ConsumedInputs.state ● State scalar

ConsumedInputs.timestamp ● Timestamp scalar

ConsumedInputs.tokenAddress ● Address scalar

ConsumedInputs.tokenId ● Int scalar

ConsumedInputs.type ● String scalar

Member of

LedgerOperations object