Documentation ¶
Overview ¶
Package block provides getters for Neo Block structure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTransaction ¶
func GetTransaction(b Block, index int) transaction.Transaction
GetTransaction returns transaction from the given block by its index. It uses `Neo.Block.GetTransaction` syscall internally.
func GetTransactionCount ¶
GetTransactionCount returns the number of recorded transactions in the given block. It uses `Neo.Block.GetTransactionCount` syscall internally.
func GetTransactions ¶
func GetTransactions(b Block) []transaction.Transaction
GetTransactions returns a slice of transactions recorded in the given block. It uses `Neo.Block.GetTransactions` syscall internally.
Types ¶
Click to show internal directories.
Click to hide internal directories.