Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

suggestion: jsonrpc method to view pending transactions #1589

Closed
ethers opened this issue Apr 11, 2015 · 4 comments
Closed

suggestion: jsonrpc method to view pending transactions #1589

ethers opened this issue Apr 11, 2015 · 4 comments
Assignees

Comments

@ethers
Copy link
Member

ethers commented Apr 11, 2015

discussed briefly with Gav earlier: add/expose eth_getPendingTransactions or eth_getPendingTransactionHashes to jsonrpc

@gavofyork
Copy link
Contributor

please try existing methods such as eth.block('pending')

@gavofyork
Copy link
Contributor

bump

fixed now?

@ethers
Copy link
Member Author

ethers commented May 4, 2015

not able to verify on 84ecbaf because:

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["pending",true],"id":1}' http://localhost:8080

gives:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"message": "INVALID_PARAMS: Invalid method parameters (invalid name and/or type) recognised",
"code": -32602
}
}

Maybe fix for #1774 is also needed?

@debris debris added the rpc label Jun 10, 2015
@debris debris closed this as completed in 401522c Jun 11, 2015
@ethers
Copy link
Member Author

ethers commented Jun 12, 2015

good thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants