Get Invoice
API Doc
Interactive API docs can be found at: https://run.truebit.network/transcript-query/api-docs/
Overview
By calling this endpoint, you’ll receive the Invoice Transcript associated with the given executionId or transcriptHash.
Returns the transcript invoice associated with the given executionId parameter
Path parameters
executionIdstringRequired
Execution Id
Responses
200
Successful operation
application/json
404
Cannot find any invoice for given executionId
application/json
get
/task/{executionId}/transcriptInvoiceGET /task/{executionId}/transcriptInvoice HTTP/1.1
Host: run.truebit.network
Accept: */*
{
"executionId": "1104204c-c482-42e8-8c14-1305936dc5c3",
"taskId": "rs_eda4e148793026cd270734cf3bab40cdd58c9d506754ef29d07c06033dea431c/1.0.0",
"taskCreated_timeStamp": 1725385103522,
"invoiceId": "1792917253851031498",
"stepGasPrice": 5e-7,
"accounting_signature": {
"v": 28,
"r": "7783239436b43020507c8354c2bb5033f5f6609bba514cd880553a2b726d6a85",
"s": "19a6e9723fc7e697998fc003af990dfaae948b9edd8610c7136904fa228799a5"
},
"lineItem": [
{
"operation": "charge",
"account": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"total_steps_computed": 6839448,
"peak_memory_used": 17
},
{
"operation": "pay",
"account": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"total_steps_computed": 6839448,
"peak_memory_used": 17
},
{
"operation": "pay",
"account": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"total_steps_computed": 6839448,
"peak_memory_used": 17
},
{
"operation": "pay",
"account": "0x90F79bf6EB2c4f870365E785982E1f101E93b906",
"total_steps_computed": 6839448,
"peak_memory_used": 17
}
]
}Response Data
It returns the Invoice Transcript associated with the given executionId or transcriptHash
Last updated
Was this helpful?