Submitting a contract transaction request
This method allows you to send a contract transaction request.
To use this method, you must provide the transaction data. Here's an example: (we are approving 0.1 BUSD)
We utilize the ethers library to encode the data. You can learn more about it by referring to the following link: https://docs.ethers.org/v5/api/utils/abi/interface/
Usage in your script
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
| String | Yes | The contract address you want to call |
| Number | Yes | EVM Chain Indentifier |
| String | Yes | Transaction Data |
Last updated