Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
add get_scheduled_transactions to eosjs
Browse files Browse the repository at this point in the history
  • Loading branch information
conr2d committed Apr 12, 2019
1 parent a2c7836 commit dcaa667
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/eosjs-jsonrpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ export class JsonRpc implements AuthorityProvider, AbiProvider {
return { accountName: rawCodeAndAbi.account_name, abi };
}

/** Raw call to `/v1/chain/get_scheduled_transactions` */
public async get_scheduled_transactions(json = true, lowerBound = '', limit = 50): Promise<any> {
return await this.fetch('/v1/chain/get_scheduled_transactions', { json, lower_bound: lowerBound, limit });
}

/** Raw call to `/v1/chain/get_table_rows` */
public async get_table_rows({
json = true,
Expand Down

0 comments on commit dcaa667

Please sign in to comment.