CoinTransaction
What is it?
This class is used for Coin transfer operations extended from Transaction and contains the following methods.
Methods
import { models, types } from '@multiplechain/evm-chains'
const tx = new models.CoinTransaction('0x1234')
const receiver = await tx.getReceiver()
const sender = await tx.getSender()
const amount = await tx.getAmount()
const status = await tx.verifyTransfer(types.AssetDirectionEnum.INCOMING, receiver, amount)
Last updated