v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Tron Paymaster

Display all Paymaster Requests.

The status is indicating the status of the request. Possible values are: pending: the request is pending processing: the request is processing. We wait for a successful transaction. completed: the request is completed failed - [reason]: the request failed, the string behind the dash shows the reason.

As soon as as the transaction is completed, you will see the resulted transaction in the response parameter 'txid'

get/api/v2/tron/paymaster

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

Succesfully Parsed paymaster requests

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 paymaster requests",
  "current_page": 1,
  "data": [
    {
      "id": "9cfbfcaf-68b2-47e9-bf55-5b6b4875e84d",
      "type": "TRC20",
      "from": "THG9nncwASg3ub5rvVquocAHwwQbnKZxpH",
      "to": "TPUjdnMrS7XDUFp5W6zgh4QDCW34nXa2x1",
      "contract_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
      "amount": "200",
      "token_id": null,
      "transaction_hash": "80a223e0cb20ef692fbd23d3cbaf3cc1dfa2b9667aaef70c7da8ca8f707ec28b",
      "status": "success",
      "used_credits": "2.178413",
      "callback_url": "https://api.chaingateway.io/receiver/webhooks/tron",
      "created_at": "2024-09-11T15:28:57.000000Z"
    },
    {
      "id": "9cfbfff2-a5ca-4268-a219-a7554ecf9fd0",
      "type": "TRC20",
      "from": "THG9nncwASg3ub5rvVquocAHwwQbnKZxpH",
      "to": "TPUjdnMrS7XDUFp5W6zgh4QDCW34nXa2x1",
      "contract_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
      "amount": "2832.001791",
      "token_id": null,
      "transaction_hash": "f97400998a9676c6f7a1e5271ef5fbd30eac25d012634ac56e87505c8651fe5d",
      "status": "success",
      "used_credits": "1.154359",
      "callback_url": "https://api.chaingateway.io/receiver/webhooks/tron",
      "created_at": "2024-09-11T13:30:48.000000Z"
    },
    {
      "id": "9cfa0b7a-1fa5-4197-854e-d66fec5a8cb9",
      "type": "TRX",
      "from": "TTfLc34WGv3RrdEV3WyexrwdkedrFhtqGq",
      "to": "THG9nncwASg3ub5rvVquocAHwwQbnKZxpH",
      "contract_address": null,
      "amount": "200",
      "token_id": null,
      "transaction_hash": "6ed5ede9898ac4f7f7ab60225e6183e674b7c29b5b1384712958f67f14ea411b",
      "status": "success",
      "used_credits": "0.0804",
      "callback_url": "https://api.chaingateway.io/receiver/webhooks/tron",
      "created_at": "2024-09-10T14:11:23.000000Z"
    },
    {
      "id": "9cfa0964-3e1c-4139-9e5e-ec3f51117da7",
      "type": "TRX",
      "from": "TRW4pjnfBnJ7u9gfhdHzQYhtqnJEYX68Qn",
      "to": "THG9nncwASg3ub5rvVquocAHwwQbnKZxpH",
      "contract_address": null,
      "amount": "200",
      "token_id": null,
      "transaction_hash": "1ac9ec5ba6fb88aa037c70eff26be46a4c95f19c1fb3ab20c4d630a376bbb1da",
      "status": "success",
      "used_credits": "0.0804",
      "callback_url": "https://api.chaingateway.io/receiver/webhooks/tron",
      "created_at": "2024-09-10T14:05:33.000000Z"
    },
    {
      "id": "9cfa090d-c4a1-4c07-9f32-05eec2ccd9ec",
      "type": "TRX",
      "from": "TRW4pjnfBnJ7u9gfhdHzQYhtqnJEYX68Qn",
      "to": "THG9nncwASg3ub5rvVquocAHwwQbnKZxpH",
      "contract_address": null,
      "amount": "200",
      "token_id": null,
      "transaction_hash": null,
      "status": "failed",
      "used_credits": "0.0804",
      "callback_url": "https://api.chaingateway.io/receiver/webhooks/tron",
      "created_at": "2024-09-10T14:04:36.000000Z"
    },
    {
      "id": "9cfa08d5-c435-41a3-92d3-881fe1a0d56c",
      "type": "TRX",
      "from": "TRW4pjnfBnJ7u9gfhdHzQYhtqnJEYX68Qn",
      "to": "THG9nncwASg3ub5rvVquocAHwwQbnKZxpH",
      "contract_address": null,
      "amount": "200",
      "token_id": null,
      "transaction_hash": null,
      "status": "failed",
      "used_credits": "0.0804",
      "callback_url": "https://api.chaingateway.io/receiver/webhooks/tron",
      "created_at": "2024-09-10T14:03:59.000000Z"
    },
    {
      "id": "9cfa0264-d6ab-46fa-a82b-41a32264c3a8",
      "type": "TRX",
      "from": "TRW4pjnfBnJ7u9gfhdHzQYhtqnJEYX68Qn",
      "to": "THG9nncwASg3ub5rvVquocAHwwQbnKZxpH",
      "contract_address": null,
      "amount": "200",
      "token_id": null,
      "transaction_hash": null,
      "status": "failed",
      "used_credits": "0.0804",
      "callback_url": "https://api.chaingateway.io/receiver/webhooks/tron",
      "created_at": "2024-09-10T13:45:59.000000Z"
    },
    {
      "id": "9cfa0021-5203-4b69-9836-8447b120723b",
      "type": "TRX",
      "from": "TRW4pjnfBnJ7u9gfhdHzQYhtqnJEYX68Qn",
      "to": "THG9nncwASg3ub5rvVquocAHwwQbnKZxpH",
      "contract_address": null,
      "amount": "200",
      "token_id": null,
      "transaction_hash": null,
      "status": "failed",
      "used_credits": "0.0804",
      "callback_url": "https://api.chaingateway.io/receiver/webhooks/tron",
      "created_at": "2024-09-10T13:39:39.000000Z"
    },
    {
      "id": "9cd3d9a3-191b-4107-a358-396be363cfc3",
      "type": "TRC20",
      "from": "TM7QnQtPGAyMGokd3KjKdTpKjFUgTHW7pP",
      "to": "TXLd9QHrGF4Kvm4eng1hCcCFoqUGQKBH43",
      "contract_address": "TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj",
      "amount": "10",
      "token_id": null,
      "transaction_hash": "9aa115693113c0a1f980f6f4bc8307fb157467792668e076adf7616289204376",
      "status": "success",
      "used_credits": "0",
      "callback_url": null,
      "created_at": "2024-08-22T14:30:33.000000Z"
    },
    {
      "id": "9cd36b3a-cd4e-40f9-8388-6e325e782c49",
      "type": "TRC20",
      "from": "TM7QnQtPGAyMGokd3KjKdTpKjFUgTHW7pP",
      "to": "TXLd9QHrGF4Kvm4eng1hCcCFoqUGQKBH43",
      "contract_address": "TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj",
      "amount": "10",
      "token_id": null,
      "transaction_hash": null,
      "status": "failed",
      "used_credits": "0",
      "callback_url": null,
      "created_at": "2024-08-22T09:21:50.000000Z"
    }
  ],
  "first_page_url": "http://chaingateway.test:81/api/v2/tron/paymaster?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "http://chaingateway.test:81/api/v2/tron/paymaster?page=1",
  "links": [
    {
      "url": null,
      "label": "« Previous",
      "active": false
    },
    {
      "url": "http://chaingateway.test:81/api/v2/tron/paymaster?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next »",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "http://chaingateway.test:81/api/v2/tron/paymaster",
  "per_page": 50,
  "prev_page_url": null,
  "to": 10,
  "total": 10
}