Call
This endpoint enables clients to create a tracer for a specific vechain function call.
You can customize the tracer using various options to suit your debugging requirements.
Query parameters
headstringOptional
Explicitly define the ID of the head block. Best block is assumed if omitted.
Body
all ofOptionalExample:
{"value":"0x0","to":"0x0000000000000000000000000000456E65726779","data":"0xa9059cbb0000000000000000000000000f872421dc479f3c11edd89512731814d0598db50000000000","gas":50000,"gasPrice":"1000000000000000","caller":"0x7567d83b7b8d80addcb281a71d54fc7b3364ffed","provedWork":"1000","gasPayer":"0xd3ae78222beadb038203be21ed5ce7c9b1bff602","expiration":1000,"blockRef":"0x00000000851caf3c"}
and
and
Responses
200
OK
application/json
Responseobject
The response will depend on the type of tracer you have created.
400
Bad Request
text/plain
post
POST /debug/tracers/call HTTP/1.1
Host: vet.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 381
{
"value": "0x0",
"to": "0x0000000000000000000000000000456E65726779",
"data": "0xa9059cbb0000000000000000000000000f872421dc479f3c11edd89512731814d0598db50000000000",
"gas": 50000,
"gasPrice": "1000000000000000",
"caller": "0x7567d83b7b8d80addcb281a71d54fc7b3364ffed",
"provedWork": "1000",
"gasPayer": "0xd3ae78222beadb038203be21ed5ce7c9b1bff602",
"expiration": 1000,
"blockRef": "0x00000000851caf3c"
}
{}