Expand description

Utilities and helpers for transaction dispatch.

Structs

A dispatcher which uses references to a client and miner in order to sign requests locally.

Manages currently reserved and prospective nonces for multiple senders.

Account-aware signer

Enums

Payload to sign

Values used to unlock accounts for signing.

A value, potentially accompanied by a signing token.

Traits

Abstract transaction signer.

Has the capability to dispatch, sign, and decrypt.

action to execute after signing e.g importing a transaction into the chain

Functions

Extract the default gas price from a client and miner.

Extract the default priority gas price from a client and miner.

Returns a eth_sign-compatible hash of data to sign. The data is prepended with special message to prevent malicious DApps from using the function to sign forged transactions.

Execute a confirmation payload.

Convert RPC confirmation payload to signer confirmation payload. May need to resolve in the future to fetch things like gas price.

Type Definitions

Single-use account token.