x-back-onboarding

Tables (8)

Account RPC (account rpc)

  • (account_type) — getCode() == "" ? EOA : CA
  • (balance) — getBalance()

Address (Untitled)

  • address (Key) — Primary key — NOT NULL
  • type (Field)
  • first_time (Field2)

Blocks (psql_blocks)

  • Number (number) — Long — Primary key — NOT NULL
  • Hash (hash) — byte[]
  • Time (time) — Instant
  • ParentHash (parent_hash) — byte[]
  • Miner (miner) — byte[]
  • Size (size) — int

Transactions (psql_transactions)

  • Hash (hash) — byte[] — Primary key — NOT NULL
  • Block Time (block_time) — Instant
  • From (from) — byte[]
  • To (to) — byte[]
  • Field

address (----)

  • (address) — String — Primary key — NOT NULL
  • (address_type) — String
  • (balance) — BigDecimal
  • (first_time) — Instant

block (-)

  • (number) — Long — Primary key — NOT NULL
  • (hash) — String
  • (time) — Instant
  • (parent_hash) — String
  • (miner) — String
  • (size) — int

recovery_task (---)

  • (id) — String — Primary key — NOT NULL
  • (start_block_number) — Long
  • (end_block_number) — Long
  • (address) — String
  • (is_completed) — boolean
  • (log) — String
  • (retry_count) — int
  • (created_time) — Instant
  • (updated_time) — Instant

transaction (--)

  • (hash) — String — Primary key — NOT NULL
  • (block_number) — Long
  • (block_hash) — String
  • (gas_price) — BigDecimal
  • (gas_used) — BigDecimal
  • (transaction_fee) — BigDecimal
  • (index) — Long
  • (block_time) — Instant
  • (from) — String
  • (to) — String