Example Transactions
Examples of supported transactions are listed:
execute_intents (1 withdrawal intent)
NEP-141:
deposit-then-execute-intents (1 withdrawal intent)
deposit-swap-withdraw (~1 NEAR -> ~5 USDT)
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