Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface L1DragonchainTransactionFull

Example Transaction At Rest Object

name

Transaction::L1::FullTransaction

example

{
   "version": "1",
   "dcrn": "Transaction::L1::FullTransaction",
   "header": {
     "txn_type": "btcWatcher",
     "dc_id": "134376ff-8272-4da0-8523-53b0f60e26eb",
     "txn_id": "be3390a3-b76a-4749-9703-22e48a9c5a54",
     "block_id": "21500625",
     "timestamp": "1539741341",
     "tag": "",
     "invoker": "37aee185-bd5c-48bc-886e-52c6c9110314"
  },
  "payload": {},
  "proof": {
    "full": "r9IjV3Mo3Sd9mWh5cAXxQP4h9tjiIec3Z1/+fI9F218=",
    "stripped": "MEUCIQCJLaYXAkm7/VkyrulVTxmUVAfVnOQy5hSYJZG2U7fgIgIgHGJWMoHt7/o/hoIGLqgqiGUc4ESiwMbIyKeJs88KHf4="
  }
}
param

dcrn string representing this Dragonchain Resource Name

param

version representing the version of this DataTransferObject

param

header.txn_type name of a smart contract, or 'transaction'

param

header.dc_id the dragonchainId which originally received this transaction

param

header.txn_id the GUID of this transaction

param

header.tag free-form string of search searchable data submitted by the transaction author

param

header.timestamp unix timestamp of when this transaction was first processed

param

header.block_id the block id to which this transaction was fixated

param

header.invoker the optional GUID of a smart-contract transaction which triggered this record. SC invocation requests are null here, their output will contain the transaction ID of their invokation request transaction)

param

payload String of JSON representing the data for this transaction

param

proof.full signature of this transaction.

param

proof.stripped signature of this transaction.

example

Order of proof hashes looks like this:

proof_full_hash_order = [
  "txn_id",
  "txn_type",
  "dc_id",
  "block_id",
  "tag",
  "invoker",
  "timestamp",
  "payload"
]
proof_stripped_hash_order = [
  "txn_id",
  "txn_type",
  "dc_id",
  "block_id",
  "tag",
  "invoker",
  "timestamp"
]

Hierarchy

  • L1DragonchainTransactionFull

Index

Properties

dcrn

dcrn: "Transaction::L1::FullTransaction"

header

header: object

Type declaration

  • block_id: string
  • dc_id: string
  • invoker: string
  • tag: string
  • timestamp: string
  • txn_id: string
  • txn_type: string

payload

payload: string

proof

proof: object

Type declaration

  • full: string
  • stripped: string

version

version: string