Skip to content
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

Add new RPC methods #640

Merged
merged 3 commits into from
Aug 25, 2023
Merged

Add new RPC methods #640

merged 3 commits into from
Aug 25, 2023

Commits on Aug 23, 2023

  1. Fix some formatting

    Fix formatting of these files:
    - `JsonRpcServer.js`
    - `TransactionDetails.js`
    jsdanielh committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    9fa5904 View commit details
    Browse the repository at this point in the history
  2. JsonRpcServer: Add new RPC method to get more transaction details

    Add new RPC method (`getTransactionByHash2`) that returns more fields
    than the `getTransactionByHash` method. The added fields are:
    - `toType`
    - `fromType`
    - `validityStartHeight`
    - `networkId`
    jsdanielh committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    c554d14 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. JsonRpcServer: Add method to get an accounts tree chunk

    Add RPC method to get an accounts tree chunk: `getAccountsTreeChunk`.
    The method receives as `string` arguments` the block hash on which
    the snapshot will be taken and the `startPrefix` of the accounts tree
    chunk. Then it returns an `AccountsTreeChunk` object.
    jsdanielh committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    8a591de View commit details
    Browse the repository at this point in the history