Skip to content

Instantly share code, notes, and snippets.

@glassonion1
Last active November 8, 2021 13:38
Show Gist options
  • Save glassonion1/3dd7a72a1b51ae049da77589fd246f50 to your computer and use it in GitHub Desktop.
Save glassonion1/3dd7a72a1b51ae049da77589fd246f50 to your computer and use it in GitHub Desktop.
class Block {
hash
parentHash
number
nonce
miner
difficulty
gasLimit
gasUsed
timestamp
}
class Transaction {
hash
blockHash
blockNumber
transactionIndex
nonce
from
to
data
gasPrice
gasLimit
timestamp
}
Block ->"0..1" Block
Transaction "*"-r>"1" Block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment