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

Add getRewards API in rpc #719

Merged
merged 4 commits into from
Dec 2, 2022
Merged

Add getRewards API in rpc #719

merged 4 commits into from
Dec 2, 2022

Conversation

nohkwak
Copy link
Member

@nohkwak nohkwak commented Dec 1, 2022

Proposed changes

A new JSON-RPC method provides historic reward distribution details.
This PR adds a new API 'getRewards' in caver-js to call JSON-RPC method 'klay_getRewards'.

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Related issues

Further comments

  • N/A

@CLAassistant
Copy link

CLAassistant commented Dec 1, 2022

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link

github-actions bot commented Dec 1, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@nohkwak
Copy link
Member Author

nohkwak commented Dec 1, 2022

I have read the CLA Document and I hereby sign the CLA

@kjeom kjeom requested review from kjeom and JayChoi1736 December 1, 2022 07:59
@nohkwak nohkwak merged commit 83a0f54 into klaytn:dev Dec 2, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2022
@nohkwak nohkwak deleted the 202211/reward branch December 2, 2022 03:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants