Add example to OpenRPC
This commit is contained in:
parent
66767da36a
commit
e94ca5e8c4
1 changed files with 29 additions and 0 deletions
|
@ -312,6 +312,35 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ListReceived by Address",
|
||||||
|
"summary": "Get list of notes received by the address",
|
||||||
|
"description": "Provides the list of notes received by the address provided as a parameter",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "Address",
|
||||||
|
"summary": "The address to use",
|
||||||
|
"value": "ztestsapling1mpup3xv2k9clxaf9wjcr0dt5gnmkprz9s9qsn298mqs356pf39wmh30q3pgsp0w5vyrmj6mrzw2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"name": "ListReceived by Address result",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"txid": "2a104393d72d1e62c94654950a92931e786a1f04aa732512597638b5c4a69a91",
|
||||||
|
"pool": "sapling",
|
||||||
|
"amount": 0.11447195,
|
||||||
|
"amountZats": 11447195,
|
||||||
|
"memo": "<22>",
|
||||||
|
"confirmed": true,
|
||||||
|
"blockheight": 2800319,
|
||||||
|
"blocktime": 1713301802,
|
||||||
|
"outindex": 0,
|
||||||
|
"change": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": [
|
"errors": [
|
||||||
|
|
Loading…
Reference in a new issue