For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Find transcript invoice by executionId

get
/task/{executionId}/transcriptInvoice

Returns the transcript invoice associated with the given executionId parameter

Path parameters
executionIdstringRequired

Execution Id

Responses
200

Successful operation

application/json
executionIdstringOptional
taskIdstringOptional
taskCreated_timeStampintegerOptional
invoiceIdstringOptional
stepGasPricenumberOptional
byteGasPricenumberOptional
accounting_signaturestringOptional
get/task/{executionId}/transcriptInvoice
GET /task/{executionId}/transcriptInvoice HTTP/1.1
Host: run.truebit.network
Accept: */*
{
  "executionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee",
  "taskId": "rs_9ec7f5c46bf9377012f652b0de20b14ef3da7e112c40295e52f277efcac93fe6",
  "taskCreated_timeStamp": 1762372603174,
  "invoiceId": "24917623726022922",
  "stepGasPrice": 5e-7,
  "accounting_signature": {
    "v": 27,
    "r": "20476805d11b************************************83f93de9b185d486",
    "s": "07f38e3b3633************************************236081b5b8f74e66"
  },
  "lineItem": [
    {
      "operation": "charge",
      "account": "0x************************************2266",
      "total_steps_computed": 7229449,
      "peak_memory_used": 18
    },
    {
      "operation": "pay",
      "account": "0x************************************b906",
      "total_steps_computed": 7229449,
      "peak_memory_used": 18
    },
    {
      "operation": "pay",
      "account": "0x************************************93BC",
      "total_steps_computed": 7229449,
      "peak_memory_used": 18
    },
    {
      "operation": "pay",
      "account": "0x************************************9A88",
      "total_steps_computed": 7229449,
      "peak_memory_used": 18
    }
  ]
}

Response Data

It returns the Invoice Transcript associated with the given executionId or transcriptHash

Last updated

Was this helpful?