-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
90 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare module "*.md"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Klesia RPC | ||
|
||
Klesia RPC is a JSON-RPC 2.0 wrapper over common Mina Protocol tools and services. The intention is to provide an outstanding Developer Experience for Mina Protocol's zkApp Developers. | ||
|
||
## Methods | ||
|
||
### mina_getTransactionCount | ||
|
||
Returns the number of transactions sent from an address. Usually you may want to use this number to determine the nonce for the next transaction. | ||
|
||
#### Parameters | ||
|
||
Array of strings: | ||
- `publicKey` - Address to check for transaction count. | ||
|
||
--- | ||
|
||
### mina_getBalance | ||
|
||
Returns the balance of the account of given address. | ||
|
||
#### Parameters | ||
|
||
Array of strings: | ||
- `publicKey` - Address to check for transaction count. | ||
|
||
--- | ||
|
||
### mina_blockHash | ||
|
||
Returns the hash of the most recent block. | ||
|
||
--- | ||
|
||
### mina_chainId | ||
|
||
Returns the currently configured chain ID. | ||
|
||
--- | ||
|
||
### mina_sendTransaction | ||
|
||
Broadcasts a signed transaction to the network. | ||
|
||
#### Parameters | ||
|
||
Array of strings: | ||
- `input` - Signed transaction or zkApp input. | ||
- `type` - Transaction type. Can be `payment`, `delegation`, or `zkapp`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"tasks": { | ||
"build": { | ||
"dependsOn": ["^build"], | ||
"outputs": ["dist/**"] | ||
}, | ||
"cleanup": {}, | ||
"dev": { | ||
"persistent": true, | ||
"cache": false | ||
} | ||
} | ||
"$schema": "https://turbo.build/schema.json", | ||
"tasks": { | ||
"build": { | ||
"dependsOn": ["^build"], | ||
"outputs": ["dist/**"] | ||
}, | ||
"cleanup": {}, | ||
"dev": { | ||
"persistent": true, | ||
"cache": false | ||
} | ||
} | ||
} |