Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTuple ¶ added in v1.0.0
type BlockHeader ¶
type BlockHeader interface {
Number() Number
Hash() common.Hash
StateRoot() common.Hash
ParentHash() common.Hash
UncleHash() common.Hash
TxHash() common.Hash
ReceiptHash() common.Hash
Bloom() [256]byte
Difficulty() *hexutil.Big
GasLimit() *hexutil.Big
GasUsed() *hexutil.Big
Coinbase() common.Address
Time() *hexutil.Big
Timestamp() time.Time
ExtraData() hexutil.Bytes
MixDigest() common.Hash
Nonce() [8]byte
BaseFeePerGas() *hexutil.Big
}
type CallTraces ¶
type CallTraces interface {
Traces() []Trace
}
type SubscriptionID ¶
type SubscriptionID string
func NewNilSubscriptionID ¶
func NewNilSubscriptionID() SubscriptionID
func (SubscriptionID) String ¶
func (id SubscriptionID) String() string
type SubscriptionResult ¶
type SubscriptionResult struct {
Subscription SubscriptionID `json:"subscription"`
Result Header `json:"result"`
}
type Transaction ¶
type Transaction interface {
Hash() common.Hash
BlockNumber() *hexutil.Big
BlockHash() *common.Hash
From() common.Address
To() *common.Address
Input() hexutil.Bytes
Value() *hexutil.Big
Gas() *hexutil.Big
GasTipCap() *hexutil.Big
GasFeeCap() *hexutil.Big
GasPrice() *hexutil.Big
Nonce() *hexutil.Big
AccessList() []AccessTuple
}
type TransactionReceipt ¶
type TransactionReceipt interface {
Hash() string
TransactionIndex() Number
BlockHash() common.Hash
BlockNumber() Number
From() common.Address
To() *common.Address
GasUsed() *hexutil.Big
CumulativeGasUsed() *hexutil.Big
EffectiveGasPrice() hexutil.Uint64
ContractAddress() *common.Address
Status() string
SetStatus(trace string)
Logs() []Log
LogsBloom() hexutil.Bytes
}
type TransactionStates ¶
type TransactionStates interface {
States() []EvmState
ProcessTrace()
}
type UnsubscribeSuccess ¶
type UnsubscribeSuccess bool
Click to show internal directories.
Click to hide internal directories.