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