Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface L1BlockAtRest

Example L1 Block At Rest Object

name

Block::L1::AtRest

example

{
  "version": "1",
  "dcrn": "Block::L1::AtRest",
  "header": {
    "dc_id": "28VhSgtPhwkhKBgmQSW6vrsir7quEYHdCjqsW6aAYbfrw",
    "block_id": "25261901",
    "level": 1,
    "timestamp": "1558547725",
    "prev_id": "25261892",
    "prev_proof": "MEUCIQCa8Ps0uV56BnE84hkl3HywSxCmkTIWqWVrMfilryhhjgIgdpwC2s0n5trRXI8yCsYItX173KHiyaSIjczw1pM1w24="
  },
  "transactions": [
    "{\"version\": \"2\", \"dcrn\": \"Transaction::L1::Stripped\", \"header\": {\"txn_type\": \"c1\", \"dc_id\": \"28VhSgtPhwkhKBgmQSW6vrsir7quEYHdCjqsW6aAYbfrw\", \"txn_id\": \"77b902ff-5900-432a-a507-93ba097446fa\", \"block_id\": \"25261901\", \"timestamp\": \"1558547724\", \"tag\": \"\", \"invoker\": \"cron\"}, \"proof\": {\"full\": \"FIF2mF2fS7Ihcq1B/KjU/WcOZQ5vu/9C/SJVnReAsEc=\", \"stripped\": \"MEUCIQDVwWctm4CFiTJdkGkY6fG/rM+B1gBwxavm9ws0OSpLHQIgYp/ucEZUa0Vk/Tw/qyI14HyNTyHzLoKp8XsJLq2GXVY=\"}}"
  ],
  "proof": {
    "scheme": "trust",
    "proof": "MEQCICfhDVHOjVN6aexzimxn18+6IBhYg05/5YXadhm5+9GVAiA+BqW0kVfeJEESiiT4WqEH1vT7K0F6xnnwRcbM7cgasQ=="
  }
}

Hierarchy

  • L1BlockAtRest

Index

Properties

dcrn

dcrn: "Block::L1::AtRest"

header

header: { block_id: string; dc_id: string; level: 1; prev_id: string; prev_proof: string; timestamp: string }

Type declaration

  • block_id: string
  • dc_id: string
  • level: 1
  • prev_id: string
  • prev_proof: string
  • timestamp: string

proof

proof: { nonce?: undefined | number; proof: string; scheme: string }

Type declaration

  • Optional nonce?: undefined | number
  • proof: string
  • scheme: string

transactions

transactions: string[]

version

version: "1"