const body = contract.createTransfer({
seqno: seqno,
secretKey: mysecretKey,
messages: [internal({
value: 1000000,
to: Address.parse('destination address'),
})]
});

const ext = external({
to: Address.parse('my address'),
init: null,
body: body,
})
const pkg = beginCell().store(storeMessage(ext)).endCell().toBoc()

liteclient.sendMessage(pkg) //gives error

please tell me whats wrong in this code

Feb 25, 2023, 12:39 PM

© 2024 Draquery.com All rights reserved.