Submitting a contract transaction request
This method allows you to send a contract transaction request.
Before requesting a transaction, ensure that you encode the value in hexadecimal format.
You also need to add the necessary parameters before requesting a transaction.
Now we need to get the data to send to represent the contract data. In this example we are approving 0.1 BUSD
Next, create the transaction object
Finally, obtain the chain ID, which can be found at the following URL: (https://chainlist.org)
POST
https://api.alturanft.com/api/alturaguard/request
Request Body
Name
Type
Description
token*
String
User token recieved when authenticating
reqParameters*
array
["transaction", tx, chainId]
Last updated