transfer(contract, sender, currency, receiver, amount)
const contractAddress = "0x41EFb6902ADcb1214a7123b01af66b1D13b89864fca";
const sender = "0x4874C17C354c498cf44D2946612DBe47fBcE7E87fca";
const currencyID = "MCC"
const reciever = "0x07469989b2562afF5E5C3B116CD3AA5Ef814e5a1fca";
const amount = 100;
const Operation = mitum.point.transfer(contractAddress, sender, currencyID, reciever, amount);
console.log(Operation);
// output
BaseOperation {
id: 'mitum',
fact: TransferFact {
hint: Hint { s: 'mitum-point-transfer-operation-fact' },
token: Token { s: '2026-02-19 03:30:48.315 +0000 UTC' },
_hash: <Buffer 44 a1 17 9c 6e e5 64 5d b2 88 82 42 d1 67 0e 64 d0 5f 2f 43 30 e9 05 8b 4a 51 33 bb e2 11 ba 7a>,
sender: Address {
s: '0x4874C17C354c498cf44D2946612DBe47fBcE7E87fca',
type: 'mitum'
},
items: [ [TransferItem] ]
},
hint: Hint { s: 'mitum-point-transfer-operation' },
_factSigns: [],
_hash: <Buffer >
}PreviousgetAllowance(contract, owner, approved)NextmultiTransfer(contract, sender, currency, receiver, amount)
Last updated