Example Transactions

Here are example transactions:

NEP-141:

Getting balances via CLI:

near contract call-function as-read-only \
  defuse-alpha.near mt_batch_balance_of \
  json-args '{
    "account_id": "defuse-ops.near",
    "token_ids": [
        "nep141:wrap.near",
        "nep141:usdt.tether-token.near"
    ]
  }' network-config mainnet now

--------------
[
  "3000004000004000006",
  "10"
]
--------------

Last updated