-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat : eth_getReceipts API #25
Conversation
internal/web3ext/web3ext.go
Outdated
@@ -611,6 +611,18 @@ web3._extend({ | |||
params: 1, | |||
inputFormatter: [web3._extend.formatters.inputTransactionFormatter] | |||
}), | |||
new web3._extend.Method({ | |||
name: 'getReceipts', | |||
call: 'wemix_getReceipts', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For clarity, I would recommend changing the method name "eth_getReceipts" to "eth_getReceiptsByBlockHash".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would recommend change method name.
Reflect feedback from @wmxcreator. Thank you. |
LGTM |
Metadium to master
Add eth_getReceipts
With this api, you can get all transaction receipts of a block at once.
parameter : block hash
return : types.receipts