Assets Transfer Polygon Bridge - Mainnet
Polygon assets bridge. Polygon-Bridge-v1.1 connector on mainnet triggers methods like deposit. You can view details like source code, ABIs on Etherscan.
- Use
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
to indicate ETH. - use -1 or
dsa.maxValue
for the maximum amount in function. - If not sure about the arguments
getId
andsetId
, pass 0.
Deposit
Deposit assets to the bridge.
spells.add({ connector: "POLYGON-BRIDGE-A", method: "deposit", args: [targetDsa, token, amt, getId, setId]});
Parameter | Type | Description |
---|---|---|
targetDsa | address | The address to receive the token on Polygon |
token | address | The address of the token to deposit. (For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) |
amt | uint256 | The amount of tokens to deposit. (For max: `uint256(-1)`) |
getId | uint256 | ID to retrieve amt. |
setId | uint256 | ID stores the amount of tokens deposit. |
If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.
Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.