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="
  }
}

Hierarchy

  • L1DragonchainTransactionFull

Index

Properties

dcrn

dcrn: "Transaction::L1::FullTransaction"

string representing this Dragonchain Resource Name

header

header: { block_id: string; dc_id: string; invoker: string; tag: string; timestamp: string; txn_id: string; txn_type: string }

Type declaration

  • block_id: string

    the block id to which this transaction was fixated

  • dc_id: string

    the dragonchainId which originally received this transaction

  • invoker: string

    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)

  • tag: string

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

  • timestamp: string

    unix timestamp of when this transaction was first processed

  • txn_id: string

    the GUID of this transaction

  • txn_type: string

    name of a smart contract, or 'transaction'

payload

payload: any

Payload data for this transaction

proof

proof: { full: string; stripped: string }

Type declaration

  • full: string

    hash of the full transaction

  • stripped: string

    signature of the stripped transaction

version

version: string

string representing the version of this DataTransferObject