Skip to content

Commit

Permalink
docs(API): fix minor stuff during review process
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoCampana committed Nov 1, 2024
1 parent bc95ccd commit 3bd04ac
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/openrpc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"openrpc": "1.3.2",
"info": {
"title": "Hathor wallet-to-dApp API",
"description": "API exposed by wallet applications for integration with dApps on Hathor platform.",
"title": "Hathor wallet-to-DApp API",
"description": "API exposed by wallet applications for integration with DApps on Hathor platform.",
"contact": {
"name": "Hathor Labs",
"url": "https://docs.hathor.network/references/besides-documentation#support"
Expand All @@ -11,7 +11,7 @@
"name": "MIT",
"url": "https://github.com/HathorNetwork/hathor-rpc-lib/blob/release/LICENSE"
},
"version": "0.1.0"
"version": "0.0.3-experimental-alpha"
},
"methods": [
{
Expand Down Expand Up @@ -287,7 +287,7 @@
{
"name": "htr_sendNanoContractTx",
"summary": "Requests user to create or execute a contract",
"description": "Provides user the details for a contract creation or execution. dApp provides wallet application with data that comprises a contract creation/execution. Wallet application assembles and signs transaction, and then pushes it to network or returns it to dApp.",
"description": "Provides user the details for a contract creation or execution. DApp provides wallet application with data that comprises a contract creation/execution. Wallet application assembles and signs transaction, and then pushes it to network or returns it to DApp.",
"paramStructure": "by-name",
"params": [
{
Expand Down Expand Up @@ -340,7 +340,7 @@
},
{
"name": "push_tx",
"description": "If true, wallet application signs transaction and pushs it to network. If false, wallet application returns signed transaction to dApp (ready to be pushed).",
"description": "If true, wallet application signs transaction and pushs it to network. If false, wallet application returns signed transaction to DApp (ready to be pushed).",
"required": true,
"schema": {
"type": "boolean"
Expand Down Expand Up @@ -378,7 +378,7 @@
{
"name": "htr_createToken",
"summary": "Requests user to create token",
"description": "Provides user the details for a token creation. dApp provides wallet application with data that comprises a token creation. Wallet application assembles and signs transaction, and then pushes it to network or returns it to dApp.",
"description": "Provides user the details for a token creation. DApp provides wallet application with data that comprises a token creation. Wallet application assembles and signs transaction, and then pushes it to network or returns it to DApp.",
"paramStructure": "by-name",
"params": [
{
Expand Down Expand Up @@ -461,7 +461,7 @@
},
{
"name": "push_tx",
"summary": "If true, wallet application signs transaction and pushs it to network. If false, wallet application returns signed transaction to dApp (ready to be pushed).",
"summary": "If true, wallet application signs transaction and pushs it to network. If false, wallet application returns signed transaction to DApp (ready to be pushed).",
"required": true,
"schema": {
"type": "boolean"
Expand Down Expand Up @@ -511,7 +511,7 @@
{
"name": "htr_signOracleData",
"summary": "Requests oracle to sign data",
"description": "Provides an oracle user data to be signed and that a contract requires to work. dApp provides wallet application with data to be signed. Wallet application returns signed data.",
"description": "Provides an oracle user data to be signed and that a contract requires to work. DApp provides wallet application with data to be signed. Wallet application returns signed data.",
"paramStructure": "by-name",
"params": [
{
Expand Down Expand Up @@ -895,7 +895,7 @@
},
"PromptRejectedError": {
"code": -31003,
"message": "User rejects confirmation prompt to reply dApp request"
"message": "User rejects confirmation prompt to reply DApp request"
},
"NCBadRequest": {
"code": -31004,
Expand Down

0 comments on commit 3bd04ac

Please sign in to comment.