Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { // GetNonce returns the nonce which will be associated with an account. GetNonce(ctx context.Context, address *common.Address) (*big.Int, error) }
Provider defines method to get a nonce value
func NewFixedNonceProvider ¶
NewFixedNonceProvider utility method to create a nonce provider which will return a fixed nonce value
func NewNetworkNonceProvider ¶
NewNetworkNonceProvider utility method to create a nonce provider which will interrogate the network for the nonce value
Click to show internal directories.
Click to hide internal directories.