package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev
# Functions
NewBlockFactory return the block factory with the given provider.
NewPublicEthService creates a new API for the RPC interface.
NewReceipt returns the RPC data for a new receipt.
NewTransaction returns a transaction that will serialize to the RPC representation, with the given location metadata set (if available).
NewTransactionFromBlockIndex returns a transaction that will serialize to the RPC representation.
# Structs
Block represents a basic block which is further amended by BlockWithTxHash or BlockWithFullTx.
BlockFactory is the factory for v1 rpc block.
BlockWithFullTx represents a block that will serialize to the RPC representation of a block having FULL transactions in the Transaction fields.
BlockWithTxHash represents a block that will serialize to the RPC representation of a block having ONLY transaction hashes in the Transaction fields.
PublicEthService provides an API to access to the Eth endpoints for the Astra blockchain.
Transaction represents a transaction that will serialize to the RPC representation of a transaction.