Contracts

Get contract call status, gas, and receipt

get/contracts/v1/calls/{call_id}

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/contracts/v1/calls/{call_id}
  • Auth: HTTP bearer

Path parameters

call_idstring required

Response

Call status (pending, confirmed, failed) with gas_used_wei, gas_cost_usd_micros, receipt

idstring required
signer_idstring required
chainstring required
contract_addressstring required
function_namestring required
tx_hashstring nullable
status'pending' | 'confirmed' | 'failed' required
gas_used_weistring nullable
gas_cost_usd_microsinteger nullable
receiptobject nullable
errorstring nullable
created_atstring date-time required
updated_atstring date-time required

Example response

{
  "contract_address": "0x0000000000000000000000000000000000000000"
}

Changes

No recorded changes to this operation across all 1 revision of this API.