Skip to content

Commit

Permalink
Update buyram.md (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sikachyna authored Oct 26, 2023
1 parent d5f6961 commit 4d30691
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/contracts/System Contract/System Actions/buyram.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Increases the receiver's ram quota based upon current price and quantity of toke
## CLI - cleos

```sh
cleos push action eosio buyram '["joe", "joji", "5.000 UOS"]' -p joe
cleos push action eosio buyram '["bob", "alice", "5.00000000 UOS"]' -p bob
```

## JavaScript - eosjs
Expand All @@ -28,10 +28,10 @@ await api.transact({
{
account: "eosio",
name: "buyram",
authorization: [{ actor: "joe", permission: "active" }],
authorization: [{ actor: "bob", permission: "active" }],
data: {
payer: "joe",
receiver: "joji",
payer: "bob",
receiver: "alice",
quant: "5.00000000 UOS"
},
},
Expand Down

0 comments on commit 4d30691

Please sign in to comment.