v1
latestOpenAPI 3.0.32026-07-1320201.0 MBEthereum Transactions
List Transactions
This method lists your transaction history. It lists all transactions including ERC20 and ERC721 transactions. <br> Please note that we dont index your addresses. We list only transactions that were made with the Chaingateway API
get/api/v2/ethereum/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
Paginated result
Example response
{
"status": 200,
"ok": true,
"message": "Succesfully parsed transactions",
"current_page": 1,
"data": [
{
"id": 1,
"user_id": 1,
"blockchain": "bsc",
"network": "testnet",
"type": "default",
"txid": "0xf5ed14c69911b1f15fa19946e7572486ec01d6fd40c3044753924798bc88d72b",
"from": "0x261a8dE315f34b8e35B225e70159Dc612B3793dB",
"to": "0xbEA640f2BB84082Df3bFA459774c4A5b496CA054",
"contractaddress": null,
"amount": "0.001000000000",
"tokenid": null,
"responseJson": null,
"httpStatus": null,
"created_at": "2024-02-13T09:00:18.000000Z",
"updated_at": "2024-02-13T09:00:18.000000Z"
},
{
"id": 4,
"user_id": 1,
"blockchain": "bsc",
"network": "testnet",
"type": "default",
"txid": "0x5da4f33531fab8ecfe6f36a1300265f772b5f11c2da736a39b0b4b0c1b97c3e2",
"from": "0x261a8dE315f34b8e35B225e70159Dc612B3793dB",
"to": "0xbEA640f2BB84082Df3bFA459774c4A5b496CA054",
"contractaddress": null,
"amount": "0.384200000000",
"tokenid": null,
"responseJson": null,
"httpStatus": null,
"created_at": "2024-02-13T10:01:26.000000Z",
"updated_at": "2024-02-13T10:01:26.000000Z"
},
{
"id": 5,
"user_id": 1,
"blockchain": "bsc",
"network": "testnet",
"type": "ERC20",
"txid": "0x1b7ecf53527e9a9ec09c448b2f594357e8a09f52c02c96d0de33fe435750d371",
"from": "0xbEA640f2BB84082Df3bFA459774c4A5b496CA054",
"to": "0x261a8dE315f34b8e35B225e70159Dc612B3793dB",
"contractaddress": null,
"amount": "1.000000000000",
"tokenid": null,
"responseJson": null,
"httpStatus": null,
"created_at": "2024-02-13T10:34:34.000000Z",
"updated_at": "2024-02-13T10:34:34.000000Z"
},
{
"id": 6,
"user_id": 1,
"blockchain": "bsc",
"network": "testnet",
"type": "ERC20",
"txid": "0x5b293a7289e8405fb8402f0bfa6e7464fdc9bfbc11aaa7874d4a7216b4079729",
"from": "0xbEA640f2BB84082Df3bFA459774c4A5b496CA054",
"to": "0x261a8dE315f34b8e35B225e70159Dc612B3793dB",
"contractaddress": null,
"amount": "1.000000000000",
"tokenid": null,
"responseJson": null,
"httpStatus": null,
"created_at": "2024-02-13T10:35:57.000000Z",
"updated_at": "2024-02-13T10:35:57.000000Z"
},
{
"id": 7,
"user_id": 1,
"blockchain": "bsc",
"network": "testnet",
"type": "ERC20",
"txid": "0x8830bd8d0cf0dfeac6d4cc345888ae52f9ca8b3a3cf37859919786bd9cd8ae2f",
"from": "0xbEA640f2BB84082Df3bFA459774c4A5b496CA054",
"to": "0x261a8dE315f34b8e35B225e70159Dc612B3793dB",
"contractaddress": null,
"amount": "100.000000000000",
"tokenid": null,
"responseJson": null,
"httpStatus": null,
"created_at": "2024-02-13T12:22:03.000000Z",
"updated_at": "2024-02-13T12:22:03.000000Z"
},
{
"id": 8,
"user_id": 1,
"blockchain": "bsc",
"network": "testnet",
"type": "ERC20",
"txid": "0x73344d178812d4919e9002c560781f288030edf72ece88823ef1c377dfb71f27",
"from": "0xbEA640f2BB84082Df3bFA459774c4A5b496CA054",
"to": "0x261a8dE315f34b8e35B225e70159Dc612B3793dB",
"contractaddress": null,
"amount": "1.000000000000",
"tokenid": null,
"responseJson": null,
"httpStatus": null,
"created_at": "2024-02-13T12:36:48.000000Z",
"updated_at": "2024-02-13T12:36:48.000000Z"
}
],
"first_page_url": "http://testnet.chaingateway.test:81/api/v2/bsc/transactions?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://testnet.chaingateway.test:81/api/v2/bsc/transactions?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://testnet.chaingateway.test:81/api/v2/bsc/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/bsc/transactions",
"per_page": 50,
"prev_page_url": null,
"to": 6,
"total": 6
}