Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Support fetching pending nonce #176

Closed
yihuang opened this issue Jun 23, 2021 · 1 comment · Fixed by #191
Closed

Support fetching pending nonce #176

yihuang opened this issue Jun 23, 2021 · 1 comment · Fixed by #191
Assignees
Labels
C:JSON-RPC JSON-RPC client

Comments

@yihuang
Copy link
Contributor

yihuang commented Jun 23, 2021

Proposal: Support fetching pending nonce

Current behavior: only support fetching from current deliver state

Desired behavior: ethereum api supports query on latest/pending/historical block height state.

Use case:

Fetching pending nonce when sending a new transaction is a common pattern in web3 development.

Related code in go-ethereum: https://github.com/ethereum/go-ethereum/blob/master/internal/ethapi/api.go#L1475

I think it's tricky to implement, but I create this issue nonetheless.

@yihuang yihuang added the C:JSON-RPC JSON-RPC client label Jun 23, 2021
@fedekunze
Copy link
Contributor

@khoslaventures khoslaventures added this to the Milestone 1: Developer Usability and Testing milestone Jun 23, 2021
@thomas-nguy thomas-nguy self-assigned this Jun 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C:JSON-RPC JSON-RPC client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants