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

Commit

Permalink
Merge pull request #143 from niteshbalusu11:add-new-options-to-call-c…
Browse files Browse the repository at this point in the history
…ommand

Add new options to call command
  • Loading branch information
niteshbalusu11 authored Mar 10, 2023
2 parents f00384e + 70bd69b commit 303503d
Show file tree
Hide file tree
Showing 3 changed files with 228 additions and 32 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@
"antd": "^4.23.4",
"async": "^3.2.4",
"axios": "^0.27.2",
"balanceofsatoshis": "^13.25.1",
"balanceofsatoshis": "^13.31.2",
"bcryptjs": "^2.4.3",
"chart.js": "^4.1.1",
"class-sanitizer": "^1.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"json-to-pretty-yaml": "^1.2.2",
"jwt-decode": "^3.1.2",
"lightning": "^7.0.4",
"lightning": "^7.1.3",
"nest-winston": "^1.8.0",
"next": "^12.3.1",
"nookies": "^2.5.2",
Expand Down
50 changes: 50 additions & 0 deletions src/shared/raw_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,26 @@ export const rawApi = {
{
method: 'getBackups',
},
{
arguments: [
{
description: 'Get block at a specific height',
named: 'height',
optional: true,
type: 'number',
},
{
description: 'Get block with a specific hash',
named: 'id',
optional: true,
type: 'hash',
},
],
method: 'getBlock',
},
{
method: 'getChainAddresses',
},
{
method: 'getChainBalance',
},
Expand Down Expand Up @@ -853,6 +873,19 @@ export const rawApi = {
],
method: 'sendToChainAddress',
},
{
arguments: [
{
description: 'Address to use for signing',
named: 'address',
},
{
description: 'Message to sign',
named: 'message',
},
],
method: 'signChainAddressMessage',
},
{
arguments: [
{
Expand Down Expand Up @@ -1028,6 +1061,23 @@ export const rawApi = {
],
method: 'updateRoutingFees',
},
{
arguments: [
{
description: 'Address to verify against',
named: 'address',
},
{
description: 'Message that was signed',
named: 'message',
},
{
description: 'Hex encoded message signature',
named: 'signature',
},
],
method: 'verifyChainAddressMessage',
},
{
arguments: [
{
Expand Down
Loading

0 comments on commit 303503d

Please sign in to comment.