v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Bitcoin Transactions

List all transaction created by Chaingateway

Lists all transactions created by our api. Please note that this will only list transactions created by our api as wo currently do not offer an transaction index.

get/api/v2/bitcoin/transactions

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

The MIME type of the request body.

Response

statusinteger
okboolean
messagestring
current_pageinteger
first_page_urlstring
frominteger
last_pageinteger
last_page_urlstring
next_page_urlstring
pathstring
per_pageinteger
prev_page_urlstring
tointeger
totalinteger

Example response

{
  "status": 200,
  "ok": true,
  "message": "Succesfully parsed transactions",
  "current_page": 1,
  "data": [
    {
      "id": 25,
      "user_id": 1,
      "blockchain": "bitcoin",
      "network": "testnet",
      "type": "default",
      "txid": "90b769cc7671f12849d61a5406aef65f0f10f289a27765f46f9d451c9a96a760",
      "from": "7b75AzvQirurCilyLxGpE0IHf9LVEk",
      "to": "tb1qzrmcwlnjclrwr6m3g8863n4zl8hkm0cjfnhzmj",
      "contractaddress": null,
      "amount": "0.000010000000",
      "tokenid": null,
      "responseJson": "{\"result\":\"90b769cc7671f12849d61a5406aef65f0f10f289a27765f46f9d451c9a96a760\",\"error\":null,\"id\":1}",
      "httpStatus": "201",
      "created_at": "2024-02-29T11:30:19.000000Z",
      "updated_at": "2024-02-29T11:30:19.000000Z"
    }
  ],
  "first_page_url": "http://testnet.chaingateway.test:81/api/v2/bitcoin/transactions?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "http://testnet.chaingateway.test:81/api/v2/bitcoin/transactions?page=1",
  "links": [
    {
      "url": null,
      "label": "« Previous",
      "active": false
    },
    {
      "url": "http://testnet.chaingateway.test:81/api/v2/bitcoin/transactions?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next »",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "http://testnet.chaingateway.test:81/api/v2/bitcoin/transactions",
  "per_page": 15,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}