Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dfns.co/llms.txt

Use this file to discover all available pages before exploring further.

NEAR is a sharded, proof-of-stake blockchain. This guide covers NEAR-specific features when using Dfns wallets.

Sharded architecture

NEAR uses sharding to scale the network. Each account lives on a specific shard, and transactions are processed on the shard where the sender’s account resides.

Finding transactions

To locate a transaction on NEAR, you need both:
  • The transaction hash
  • The sender’s account ID (to identify the correct shard)
Dfns handles this automatically when indexing transactions.
Dfns uses the main shard for wallet operations.

Transfers

Use the Transfer Asset endpoint for NEAR transfers:
  • Native NEAR: Use kind: Native with amount in yoctoNEAR (1 NEAR = 10^24 yoctoNEAR)
  • NEP-141 tokens: Use the appropriate kind with the token contract

SDK integration

For full transaction control, use the Dfns SDK with near-api-js. See the NEAR integration example.
Last modified on January 27, 2026