List Transactions
GET /v2/transactions
Query Parameters
Field | Type | Description |
---|---|---|
address | String | Optional. The address to list transactions for from or to. |
chain | String | Optional. The chain to list transactions for. |
token_address | String | Optional. The token address to list transactions for. |
tag | String | Optional. The tag to list transactions for. |
since | String | Optional. Only show results that were last updated after the given block time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ . |
Returns
Field | Type | Description |
---|---|---|
id | String | The transaction ID. |
chain | String | The blockchain the transaction is on. |
token_address | String | The token address of the transaction. |
from_address | String | The from address of the transaction. |
to_address | String | The to address of the transaction. |
value | String | The value of the transaction. |
tx_hash | String | The transaction hash. |
block_number | String | The block number of the transaction. |
block_hash | String | The block hash of the transaction. |
block_time | String | The block time of the transaction. |
Example
Request
cURL
curl "https://api.bmining.pro/v2/transactions?chain=bitcoin&address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" \
-X GET \
-H "Content-Type: application/json" \
--data-urlencode "api_key=YOUR_API_KEY"
Response
[
{
"id": "cm36lv37lums610cmaujehor2",
"chain": "bitcoin",
"token_address": "0",
"from_address": "0",
"to_address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"value": "5000000000",
"tx_hash": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
"block_number": 0,
"block_hash": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
"block_time": "2009-01-04T02:15:05.000Z"
}
]