Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ipopescu committed Oct 12, 2023
1 parent a21e3c6 commit 5217188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,16 @@ casper-client transfer \
**Request fields:**

- `id` - Optional JSON-RPC identifier applied to the request and returned in the response. If not provided, a random integer will be assigned

- `transfer-id` -<64-BIT INTEGER> The `transfer-id` is a memo field, providing additional information about the recipient, which is necessary when transferring tokens to some recipients. For example, if depositing tokens into an account's purse where off-chain management keeps track of individual sub-balances, it is necessary to provide a memo ID uniquely identifying the actual recipient. If this is not necessary for a given recipient, you may pass `0` or some `u64` value that is meaningful to you

- `node-address` - Hostname or IP and port of a node on a network bound to a JSON-RPC endpoint \[default:<http://localhost:7777>\]

- `amount` -<512-BIT INTEGER> The number of motes to transfer (1 CSPR = 1,000,000,000 `Motes`)

- `secret-key` - Path to secret key file

- `chain-name` - Name of the chain, to avoid the deploy from being accidentally or maliciously included in a different chain

- The _chain-name_ for Testnet is **casper-test**
- The _chain-name_ for Mainnet is **casper**

- `target-account` - Hex-encoded public key of the account that will receive the funds in its main purse

- `payment-amount` - The payment for the transfer in motes. The payment amount varies based on each deploy and network [chainspec](../../../concepts/glossary/C.md#chainspec). For Testnet node version [1.5.1](https://github.com/casper-network/casper-node/blob/release-1.5.1/resources/production/chainspec.toml), you can specify 10^8 motes

**Important response fields:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ casper-client query-global-state \

- `"result"."stored_value"."Account"."main_purse"` - the address of the main purse containing the sender's tokens. In this example, this purse is the source of the tokens transferred

**Source Example Query:**
**Source Account Query:**

```bash
casper-client query-global-state -v \
Expand Down Expand Up @@ -228,7 +228,7 @@ casper-client query-global-state -v \

</details>

**Target Example Query:**
**Target Account Query:**

Repeat the same step to query information about the _Target_ account:

Expand Down

0 comments on commit 5217188

Please sign in to comment.