package
0.0.0-20220308083446-f387b464c92d
Repository: https://github.com/weijun-sh/gethscan-server.git
Documentation: pkg.go.dev
# Functions
CalcOkexTransactionHash calc okex tx hash.
IsOkexChain judge if it is okex blockchain by chain ID.
MakeSigner make signer.
NewContractCreation new contract creation.
NewDynamicFeeTx new dynamic fee tx for EIP-1559.
NewEIP155Signer new EIP155Signer.
NewEIP2930Signer returns a signer that accepts EIP-2930 access list transactions, EIP-155 replay protected transactions, and legacy Homestead transactions.
NewLondonSigner returns a signer that accepts - EIP-1559 dynamic fee transactions - EIP-2930 access list transactions, - EIP-155 replay protected transactions, and - legacy Homestead transactions.
NewTransaction new tx.
Sender returns the address derived from the signature (V, R, S) using secp256k1 elliptic curve and an error if it failed deriving or upon an incorrect signature.
SignTx signs the transaction using the given signer and private key.
ToBlockNumArg to block number arg.
ToFilterArg query to filter arg.
# Constants
Transaction types.
Transaction types.
Transaction types.
# Structs
AccessListTx is the data of EIP-2930 access list transactions.
AccessTuple is the element type of an access list.
DynamicFeeTx is the data of EIP-1559 dynamic fee transactions.
EIP155Signer implements Signer using the EIP155 rules.
FeeHistoryResult fee history result.
FilterQuery struct.
FrontierSigner frontier signer.
HomesteadSigner implements TransactionInterface using the homestead rules.
LegacyTx is the transaction data of regular Ethereum transactions.
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
RPCBaseBlock struct.
RPCBlock struct.
RPCLog struct.
RPCTransaction struct.
RPCTxReceipt struct.
Transaction struct.
# Interfaces
Signer encapsulates transaction signature handling.