package
0.0.0-20241120074608-6378e9d597be
Repository: https://github.com/orcfax/oracle-suite.git
Documentation: pkg.go.dev

# Functions

BigToBlockNumber converts a big.Int to a BlockNumber.
BigToNumber converts a big.Int to a Number.
BytesToAddress returns an Address from a byte slice.
BytesToBloom converts a byte slice to a Bloom.
BytesToHash returns the hash corresponding to the byte slice.
BytesToNonce converts a byte slice to a Nonce.
HexToAddress parses a hex string into an Address.
HexToAddresses parses a list of hex strings into Addresses.
HexToBytes parses a hex string into a Bytes.
HexToHash returns the hash corresponding to the hexadecimal string.
HexToHashes returns the hashes corresponding to the hexadecimal strings.
No description provided by the author
No description provided by the author
StringToBlockNumber converts a string to a BlockNumber.
Uint64ToBlockNumber converts a uint64 to a BlockNumber.
Uint64ToNumber converts an uint64 to a Number.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Block represents an Ethereum block.
BlockNumber is a type that can hold a block number or a tag.
BlockTxHashes represents Ethereum block with transaction hashes.
BlockTxObjects represents Ethereum block with full transactions.
FeeHistory represents the result of the feeHistory RPC call.
FilterLogsQuery represents a query to filter logs.
Log represents a contract log event.
Number represents an integer up to 256 bits.
Transaction represents a transaction.
TransactionReceiptType represents transaction receipt.

# Type aliases

Address represents the 20 byte address of an Ethereum account.
Addresses is a slice of Address.
Bloom represents a 2048 bit bloom filter.
Bytes represents a byte slice.
Hash represents the 32 byte Keccak256 hash of arbitrary data.
Hashes marshals/unmarshals as hash.
Nonce represents a 64 bit nonce.