CryptoApis::ListOmniTransactionsByBlockHashRI

Properties

Name Type Description Notes
amount String Defines the amount of the sent tokens.
divisible Boolean Defines whether the attribute can be divisible or not, as boolean. E.g., if it is "true", the attribute is divisible.
mined_in_block_hash String Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
mined_in_block_height Integer Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block.
position_in_block Integer Represents the index position of the transaction in the specific block.
property_id Integer Represents the identifier of the tokens to send.
recipients Array<ListOmniTransactionsByAddressRIRecipients> Represents an object of addresses that receive the transactions.
senders Array<ListOmniTransactionsByAddressRISenders> Represents an object of addresses that provide the funds.
timestamp Integer Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed.
transaction_id String Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain.
type String Defines the type of the transaction as a string.
type_int Integer Defines the type of the transaction as a number.
valid Boolean Defines whether the transaction is valid or not, as boolean. E.g., if it is &quot;true&quot;, the transaction is valid.
version Integer Defines the specific version.
fee ListOmniTransactionsByBlockHashRIFee

Example

require 'crypto_apis'

instance = CryptoApis::ListOmniTransactionsByBlockHashRI.new(
  amount: 9.146383,
  divisible: true,
  mined_in_block_hash: 000000000000000000061610767eaa0394cab83c70ff1c09dd6b2a2bdad5d1d1,
  mined_in_block_height: 590000,
  position_in_block: 7,
  property_id: 1,
  recipients: null,
  senders: null,
  timestamp: 1565743888,
  transaction_id: 00000000000000e899a439e6b898af0f7f17a10212d31bf8760bf9dd170c4a76,
  type: Simple Send,
  type_int: 0,
  valid: true,
  version: 0,
  fee: null
)