Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface L2BlockAtRest

Example L2 Block At Rest Object

name

Block::L2::AtRest

example

{
   "version": "1",
   "dcrn": "Block::L2::AtRest",
   "header": {
     "dc_id": "e7rBQ3CP2Q93wmwQcH6VKzTiRUsAHoGh8fRvxnvx7M31",
     "current_ddss": "5484875.54508316",
     "level": 2,
     "block_id": "44192",
     "timestamp": "1555830009",
     "prev_proof": "MEQCIBjCggGtfMbra7RYlmNxiGReGHB7Y+6yM56/s73tRCymAiBlySM+yxwKBvBvNpR3FXucCbQYRdciQPGKEThv2E3Q4Q=="
   },
   "validation": {
     "dc_id": "28VhSgtPhwkhKBgmQSW6vrsir7quEYHdCjqsW6aAYbfrw",
     "block_id": "24718321",
     "stripped_proof": "MEUCIQC3Boti9Sh+nECPvG0Y4dg+h/8GgVF6HmJZcEujUwlDEwIgRClM/01rejnGDbfmFS4VUhOUzMYDr+Pdo02B9Xwf/u8=",
     "transactions": "{\"358da848-4cd5-45ff-a776-6d1af52cb972\": true}"
   },
   "proof": {
     "scheme": "trust",
     "proof": "MEQCIHDm8ecCpHUf6/cJ05xhIGKdOJBWP0pdLgILnqcvM+BCAiALVMKFdsNHw4IBgzsiOp8lRPizV88jklQNuMnSyLKhkQ=="
   }
 }

Hierarchy

  • L2BlockAtRest

Index

Properties

dcrn

dcrn: "Block::L2::AtRest"

header

header: { block_id: string; current_ddds: string | null; dc_id: string; level: 2; prev_proof: string; timestamp: string }

Type declaration

  • block_id: string
  • current_ddds: string | null
  • dc_id: string
  • level: 2
  • prev_proof: string
  • timestamp: string

proof

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

Type declaration

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

validation

validation: { block_id: string; dc_id: string; stripped_proof: string; transactions: string }

Type declaration

  • block_id: string
  • dc_id: string
  • stripped_proof: string
  • transactions: string

version

version: "1"