EntryPoint

OP
etherscanblockscout
Code Snippets

addStake

payable

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

Use this function in your app

const response = await fetch('https://api.thirdweb.com/v1/contracts/write', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-secret-key': '<YOUR_SECRET_KEY>' }, body: JSON.stringify({ calls: [ { contractAddress: "0x0000000071727De22E5E9d8BAf0edAc6f37da032", method: "function addStake(uint32 unstakeDelaySec) payable", params: [unstakeDelaySec] } ], chainId: 10, from: "<YOUR_WALLET_ADDRESS>" }) }); const data = await response.json();