Add examples to OpenRPC spec
This commit is contained in:
parent
1caa4efdb4
commit
70123a7261
1 changed files with 28 additions and 16 deletions
|
@ -323,6 +323,8 @@
|
||||||
],
|
],
|
||||||
"result":
|
"result":
|
||||||
{
|
{
|
||||||
|
"name": "Default receivers",
|
||||||
|
"value": {
|
||||||
"index": 14,
|
"index": 14,
|
||||||
"account": 1,
|
"account": 1,
|
||||||
"name": "AllRecvs",
|
"name": "AllRecvs",
|
||||||
|
@ -330,6 +332,7 @@
|
||||||
"legacy": "ztestsapling1esn0wamf8w3nz2juwryscc3l8e5xtll6aewx0r2h5xtmrpnzsw2k23lec65agn8v59r72v2krrh",
|
"legacy": "ztestsapling1esn0wamf8w3nz2juwryscc3l8e5xtll6aewx0r2h5xtmrpnzsw2k23lec65agn8v59r72v2krrh",
|
||||||
"transparent": "tmMteg5HxFnmn4mbm2UNEGzWgLX16bGLg16"
|
"transparent": "tmMteg5HxFnmn4mbm2UNEGzWgLX16bGLg16"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetNewAddress - no transparent",
|
"name": "GetNewAddress - no transparent",
|
||||||
|
@ -354,6 +357,8 @@
|
||||||
],
|
],
|
||||||
"result":
|
"result":
|
||||||
{
|
{
|
||||||
|
"name": "NoTransparent",
|
||||||
|
"value": {
|
||||||
"index": 15,
|
"index": 15,
|
||||||
"account": 1,
|
"account": 1,
|
||||||
"name": "NoTransparent",
|
"name": "NoTransparent",
|
||||||
|
@ -361,6 +366,7 @@
|
||||||
"legacy": "ztestsapling1vp3kzw7rqldfvaw5edfgqq66qm0xnexmscwnys220403mqqh9uyl0sqsye37aelrese42y8ecnx",
|
"legacy": "ztestsapling1vp3kzw7rqldfvaw5edfgqq66qm0xnexmscwnys220403mqqh9uyl0sqsye37aelrese42y8ecnx",
|
||||||
"transparent": null
|
"transparent": null
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetNewAddress - no Sapling",
|
"name": "GetNewAddress - no Sapling",
|
||||||
|
@ -385,6 +391,8 @@
|
||||||
],
|
],
|
||||||
"result":
|
"result":
|
||||||
{
|
{
|
||||||
|
"name": "NoSapling",
|
||||||
|
"value": {
|
||||||
"index": 16,
|
"index": 16,
|
||||||
"account": 3,
|
"account": 3,
|
||||||
"name": "NoSapling",
|
"name": "NoSapling",
|
||||||
|
@ -392,6 +400,7 @@
|
||||||
"legacy": null,
|
"legacy": null,
|
||||||
"transparent": "tmQ7z6q46NLQXpeNkfeRL6wJwJWA4picf6b"
|
"transparent": "tmQ7z6q46NLQXpeNkfeRL6wJwJWA4picf6b"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetNewAddress - Orchard only",
|
"name": "GetNewAddress - Orchard only",
|
||||||
|
@ -421,6 +430,8 @@
|
||||||
],
|
],
|
||||||
"result":
|
"result":
|
||||||
{
|
{
|
||||||
|
"name": "OrchardOnly",
|
||||||
|
"value": {
|
||||||
"index": 17,
|
"index": 17,
|
||||||
"account": 3,
|
"account": 3,
|
||||||
"name": "OrchardOnly",
|
"name": "OrchardOnly",
|
||||||
|
@ -429,6 +440,7 @@
|
||||||
"transparent": null
|
"transparent": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"errors": [
|
"errors": [
|
||||||
{ "$ref": "#/components/errors/InvalidAccount" },
|
{ "$ref": "#/components/errors/InvalidAccount" },
|
||||||
|
|
Loading…
Reference in a new issue