NFT
What is it?
Methods
import { assets } from '@multiplechain/evm-chains'
const nft = new assets.NFT('0x')
const name = nft.getName()
const symbol = nft.getSymbol()
const owner = await nft.getOwner('0x')
const uri = await nft.getTokenURI('0x')
const balance = await nft.getBalance('0x')
const approved = await nft.getApproved('0x')
const transfer = await nft.transfer('0x', '0x', 1)
const approve = await nft.approve('0x', '0x', 1)
const transferFrom = await nft.transferFrom('0x', '0x', '0x', 1)
const txId = await (await transfer.sign('0x')).send()
const txId2 = await (await approve.sign('0x')).send()
const txId3 = await (await transferFrom.sign('0x')).send()Last updated