WrappedTokenGatewayV3

Scroll
Scrollscan

BorrowETH

(borrowETH)

nonpayable


key

amount

interestRateMode

referralCode


Sign In

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function borrowETH(address, uint256 amount, uint256 interestRateMode, uint16 referralCode)",
params: [, amount, interestRateMode, referralCode]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});