StargatePoolNative

Linea
EtherscanBlockscout
Code Snippets

Add Treasury Fee

(addTreasuryFee)

payable

_amountLD


The native currency value (in Ether) to send with this transaction (ex: 0.01 to send 0.01 native currency).

Connect Wallet

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, method: "function addTreasuryFee(uint256 _amountLD) payable", params: [_amountLD] }); const { transactionHash } = await sendTransaction({ transaction, account });