NEAR
NEAR integration via OneKey provider — detect, connect, send transactions, and sign
Build NEAR dApps with OneKey’s provider. Start with detection and connection, then follow the sending/signing guides.
Quick links
Minimal pattern
Use the Provider SDK to create a NEAR provider instance.
import { OneKeyNearProvider } from '@onekeyfe/onekey-near-provider'
const provider = new OneKeyNearProvider()
// Request accounts (example)
await provider.request({ method: 'near_accounts' })Events & network
Watch account/network status via the Integrating section
Common errors
4001: user rejected
Invalid params: ensure method names and arguments follow the NEAR provider spec
Mobile & deeplinks
Use OneKey deeplinks to bridge from mobile H5/WebViews
See Use deeplinks
Last updated
Was this helpful?