Quick Start
Get your API keys
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can create an account using the Login Page and request a new API key in the Runner API screen.
Make your first request
Send an authenticated request to the Runner API endpoint to make your first request. This will execute a function and return all the requested information.
Execute a function in a Contract
POST https://runner.devweb3.co/runner/run
Headers
x-api-key*
String
API Key
Request Body
type
String
Execution (default) or Simulation
networkId*
String
Network Id found in https://chainlist.org/. The actual supported list is:
137 - Polygon Mainnet
80001 - Polygon Mumbai
56 - BSC Mainnet
97 - BSC Testnet
In Test:
Ethereum (Mainnet and Goerli)
Arbitrum (Mainet and Goerli)
AVAX (Mainet and Testnet)
Optimism (Mainet and Goerli)
Fantom (Mainet and Testnet)
rpc
String
RPC URL to be used by the execution
proxy
String
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.
Example
Method: POST
URL: https://runner.devweb3.co/runner/run
Headers:
x-api-key: <YOUR-API-KEY-HERE>
Content-Type: application/json
Body raw JSON:
Last updated