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.
NewCxReceipt returns a CxReceipt that will serialize to the RPC representation.
NewPublicLegacyAPI creates a new API for the RPC interface.
NewReceipt returns a transaction OR staking transaction that will serialize to the RPC representation.
NewStakingTransaction returns a staking transaction that will serialize to the RPC representation, with the given location metadata set (if available).
NewStakingTransactionFromBlockHash returns a staking transaction that will serialize to the RPC representation.
NewStakingTransactionFromBlockIndex returns a staking transaction that will serialize to the RPC representation.
NewStakingTxReceipt returns a staking transaction receipt that will serialize to the RPC representation.
NewTransaction returns a transaction that will serialize to the RPC representation, with the given location metadata set (if available).
NewTransactionFromBlockHash returns a transaction that will serialize to the RPC representation.
NewTransactionFromBlockIndex returns a transaction that will serialize to the RPC representation.
NewTxReceipt returns a transaction receipt that will serialize to the RPC representation.
StakingTransactionsFromBlock return rpc staking transactions from a block.
# Structs
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 & Staking transaction fields.
BlockWithTxHash represents a block that will serialize to the RPC representation of a block having ONLY transaction hashes in the Transaction & Staking transaction fields.
CollectRewardsMsg represents a staking transaction's collect rewards directive that will serialize to the RPC representation.
CreateValidatorMsg represents a staking transaction's create validator directive that will serialize to the RPC representation.
CxReceipt represents a CxReceipt that will serialize to the RPC representation of a CxReceipt.
DelegateMsg represents a staking transaction's delegate directive that will serialize to the RPC representation.
EditValidatorMsg represents a staking transaction's edit validator directive that will serialize to the RPC representation.
PublicLegacyService provides an API to access the Astra blockchain.
StakingTransaction represents a staking transaction that will serialize to the RPC representation of a staking transaction.
StakingTxReceipt represents a staking transaction receipt that will serialize to the RPC representation.
Transaction represents a transaction that will serialize to the RPC representation of a transaction.
TxReceipt represents a transaction receipt that will serialize to the RPC representation.
UndelegateMsg represents a staking transaction's delegate directive that will serialize to the RPC representation.