From 4d3069116afd0afd0165fb775939e63c72b1b186 Mon Sep 17 00:00:00 2001 From: Igor Sikachyna Date: Thu, 26 Oct 2023 14:03:23 -0400 Subject: [PATCH] Update buyram.md (#74) --- docs/contracts/System Contract/System Actions/buyram.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/contracts/System Contract/System Actions/buyram.md b/docs/contracts/System Contract/System Actions/buyram.md index 65ab395dae..f7f2fab0de 100644 --- a/docs/contracts/System Contract/System Actions/buyram.md +++ b/docs/contracts/System Contract/System Actions/buyram.md @@ -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 @@ -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" }, },