路由器(Router)
Code
Address
Read-Only Functions
Last updated
Last updated
(int, cell, cell) get_lp_data() method_id(slice, int) get_jetton_pair_to_lp_address(slice jettonA_address, slice jettonB_address) method_id(cell, cell, cell) get_code_data() method_id(cell) get_lp_default_content_data() method_idawait sendInternalMessageWithWallet({
walletContract,
secretKey,
to: userJettonWalletAddress,
value: toNano(0.4),
body: beginCell()
.storeUint(0xf8a7ea5, 32)
.storeUint(queryId, 64)
.storeCoins(fromAmount)
.storeAddress(routerAddress)
.storeAddress(responseAddress)
.storeDict(beginCell().endCell())
.storeCoins(toNano(0.3))
.storeDict(beginCell()
.storeAddress(fromJettonAddress)
.storeAddress(toJettonAddress)
.storeCoins(minAmount)
.endCell())
.endCell()
});