crypto-aio / crypto-aio / SequenceSource
Interface: SequenceSource ​
Defined in: src/core/driver/types.ts:315
The chain's view of an address's next nonce or seqno (nonce and seqno ordering).
Methods ​
latest() ​
latest(
address):Promise<bigint>
Defined in: src/core/driver/types.ts:319
Next nonce/seqno per the latest block.
Parameters ​
address ​
string
Returns ​
Promise<bigint>
pending() ​
pending(
address):Promise<bigint>
Defined in: src/core/driver/types.ts:317
Next nonce/seqno including pending transactions.
Parameters ​
address ​
string
Returns ​
Promise<bigint>