CodeChain-io / CodeChain-io/codechain-sdk-js
Change all of the SDK functions to arrow function
Open
enhancement
good first issue
- Dominant language
- TypeScript
- Stars
- 26
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the below example doesn't work
```
let sdk = new SDK(...);
let { getBlock, ... } = sdk.rpc.chain;
getBlock("0x123..").then(...)
```
Because of the function context.
Changing all the functions to the arrow function is one of the solutions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.