NEAR Intents
  • Overview
  • Integration
    • Distribution Channels
      • 1Click API
  • Market Makers
    • Message Bus
      • API
      • Usage
    • PoA bridge API
    • Verifier
      • Introduction
      • Deposits and withdrawals
        • NEAR Token treatment
        • Deposits
        • Balances, and identifying your token
        • Withdrawals
      • Account Abstraction
      • Intent types and execution
      • Signing Intents
      • Events
      • Example Transactions
      • Simulating intents
    • Examples
  • FAQs
  • Security
  • Chain and Address Type Support
Powered by GitBook
On this page
  1. Market Makers
  2. Verifier

Example Transactions

PreviousEventsNextSimulating intents

Last updated 5 days ago

Examples of supported transactions are listed:

  • (1 withdrawal intent)

NEP-141:

  • (1 withdrawal intent)

    • (~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"
]
--------------

add_public_key
remove_public_key
execute_intents
deposit
deposit-then-execute-intents
deposit-swap-withdraw
withdrawal by transaction