stacks-core icon indicating copy to clipboard operation
stacks-core copied to clipboard

RPC endpoint for retrieving the current nonces in the mempool for a specific address

Open jferrant opened this issue 2 years ago • 0 comments

Currently there is no way (Except to use Hiro's extended API) to retrieve the current transactions sitting in the mempool for a specific address. This makes it difficult to determine the correct nonce to use when submitting a new tx and requires some janky local counting that is not as resistant to crashes/failed transactions/etc.

Having an endpoint to retrieve the last nonce in the mempool or a prob better, the list of pending transactions in the mempool for a given account would be very helpful to reduce complexity in the stacks-signer and i think would also help other users wishing to build on stacks.

jferrant avatar Oct 17 '23 16:10 jferrant