- TxPool
Class contains txpool RPC methods
Class contains txpool RPC methods
TxPool constructor.
Returns: TxPool
- The TxPool instance
Param | Type | Description |
---|---|---|
conflux | Conflux |
A Conflux instance |
Get user next nonce in transaction pool
Kind: instance member
Returns: Promise.<number>
- The next usable nonce
Param | Type | Description |
---|---|---|
address | string |
The address of the account |
Example (Example usage of txpool.nextNonce)
await conflux.txpool.nextNonce('cfxtest:aak2rra2njvd77ezwjvx04kkds9fzagfe6d5r8e957');
// returns 100