Deprecated APIs
Here are some deprecated APIs that we may not support in future versions.
Similar to
requestSignIn()
, connect user to the current applicationSimilar to
signOut()
, disconnect user from the current applicationReturns
true
if the provider is connected to the current chain, and false
otherwise.Send $NEAR to others
const res = await window.near.sendMoney({
receiverId: 'xxx.testnet',
amount: parseNearAmount('1'),
})
console.log('send near res: ', res);
View function call with current RPC
Last modified 1yr ago