Tokens
import { NotVault, Tokens } from '@notcentralised/notvault-sdk';Instructions
const vault = new NotVault();
const tokens = new Tokens(vault);await tokens.deposit('...Token Address...', BigInt(1000) /* token amount */ * BigInt(10 ** 18) /* token decimal places */);const idHash = await tokens.send(
'...Token Address...',
'... Email or Receipient address ...',
BigInt(1000) /* token amount */ * BigInt(10 ** 18) /* token decimal places */
);Reading Token Balances
Last updated