Proxy Contract address. Optional if you have only the Implementation address
options
Array
Options to control the response details.
functionDetails - Return the Function's inputs, outputs and State Mutability
abi - Return the Contract's ABI information
coinPrice - Return the coin price at ehe time of the transaction executio.
input- Return all the inputs provided to execute the transaction
walletBalance - Return the current wallet balance
result - Return the results of the function called using a CALL
events - Return the events emited by the function executed
receipt - Return the receipt information
rawTransaction - Return the Raw Transaction before it's signed
signedTransaction - Return the signed transaction executed
nonce
String
Nonce for the execution
gasPrice
String
Gas Price in Gwei. Automatically calculated using the average price if it's not provided.
gasLimit
String
Gas Limit for the execution. Default is 8000000
value
String
Value in Ether to be transferred in case of payable functions
wallet
String
66-character hexadecimal string of length Wallet Private Key. Required for sign payable/nonpayble Contracts
parameters
Array or String
Array of strings or a string for a single parameter
function*
String
Function name to be executed
abi
Array
Array representing the Implementation Contract address ABI
implementation
String
Implementation Contract Address. Optional if the Proxy was implemented using ERC1967
gasPricePriority
String
Gas Price Priority to be used in the dynamic price calculation for Mainnets. Standard (default), Fast or Rapid. The gas cost of your transaction is directly impacted by this parameter. Reference for ETH: https://etherscan.io/gastracker
You have to provide the API key in the request header to use the API.
x-api-key: <YOUR-API-KEY>
Custom messages to indicate the reason for the Bad Request response are provided.
Internal Server Error during the function execution.
Good to know: A transaction can take a few seconds to be completed due to the nature of the blockchain network. Unlike a web 2.0 application, a blockchain network needs more time to process and include it in the ledger.
200 Code: The API response with a status code 200 indicates that the transaction was successfully submitted to the blockchain. However, it's essential to check the response details for potential reasons if the transaction was reverted by the blockchain. Other status codes may indicate issues with the API itself, unrelated to the blockchain network.
{
"statusCode": 401,
"message": "Unauthorized - Check the API key provided in the header x-api-key",
"timestamp": "2023-06-30T19:55:51.191Z",
"path": "/"
}
{
"statusCode": 400,
"timestamp": "2023-06-30T19:54:35.824Z",
"path": "/runner/run",
"message": "Bad Request (Check Parameters)",
"error": "(number of parameters) The number os parameters sent (2) doesn't match the amount required by the function (1)"
}