package
1.16.0
Repository: https://github.com/synapsecns/sanguine.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Capture option allows for capturing the request and response data.
DialBackend returns a scribe backend.
DialHarmonyBackend dials a harmony backend.

# Constants

BlockByHashMethod gets a block by hash.
BlockByNumberMethod gets a block by number.
BlockNumberMethod gets the latest block number.
CallMethod calls a contract.
ChainIDMethod is used to retrieve the current chain ID for transaction replay protection.
EstimateGasMethod tries to estimate the gas needed to execute a specific transaction.
FeeHistoryMethod gets the fee history.
GasPriceMethod gets the gas price.
GetBalanceMethod gets the balance for a given address.
GetCodeMethod returns the contract code of the given account.
GetLogsMethod filters logs.
HarmonyGetLogsMethod filters logs on harmony.
HarmonyGetReceiptMethod gets a receipt on harmony this should always return Hash rather than Ethereum Hash.
MaxPriorityMethod gets the max priority fee.
NetVersionMethod gets the network version.
PendingTransactionCountMethod gets the pending transaction count.
SendRawTransactionMethod sends a raw tx.
StorageAtMethod returns the value of key in the contract storage of the given account.
SubscribeMethod subscribes to an event.
SyncProgressMethod gets the sync progress.
TransactionByBlockHashAndIndexMethod returns a transaction by its hash and index.
TransactionByHashMethod returns the transaction with the given hash.
TransactionCountByHashMethod get sthe transaction count by hash.
TransactionCountMethod returns the account nonce of the given account.
TransactionReceiptByHashMethod gets the transaction receipt from a hash.
NetMethods:.

# Interfaces

EVM is the set of functions that the scribe needs from a client.
HarmonyVM is a strict superset of evm w/ custom harmony methods.

# Type aliases

Options is a type for client options.
RPCMethod is an enum type for an rpc method.