TransactionInput
[TransactionInput] represents the inputs from the transaction It includes:
- From: transaction which send the amount of assets
- Amount: asset amount
- Type: UCO/token/Call
- token address: address of the token if the type is token
- Spent: determines if the input has been spent
- Timestamp: Date time when the inputs was generated
- token id: It is the id for a token which is allocated when the token is minted.
type TransactionInput {
amount: Int
from: Address
spent: Boolean
timestamp: Timestamp
tokenAddress: Address
tokenId: Int
type: String
}
Fields
TransactionInput.amount ● Int scalar
TransactionInput.from ● Address scalar
TransactionInput.spent ● Boolean scalar
TransactionInput.timestamp ● Timestamp scalar
TransactionInput.tokenAddress ● Address scalar
TransactionInput.tokenId ● Int scalar
TransactionInput.type ● String scalar
Returned by
transactionInputs query
Member of
Transaction object