Transactions

Monitor Transactions

Monitor and get notified about transactions in your application, both on your project dashboard and programmatically.

Get transaction status

Get the information about a transaction by its id.

Request

fetch("https://api.thirdweb.com/v1/transactions/{transactionId}", {
method: "GET",
headers: {
"x-secret-key": "<your-project-secret-key>",
},
});

Response

{
"result": {
"batchIndex": 0,
"cancelledAt": "string",
"chainId": "string",
"clientId": "string",
"confirmedAt": "string",
"confirmedAtBlockNumber": "string",
"createdAt": "string",
"errorMessage": "string",
"from": "string",
"id": "string",
"transactionHash": "string",
"status": "QUEUED | SUBMITTED | CONFIRMED | FAILED",
"enrichedData": "value",
"executionParams": "value",
"executionResult": "value"
}
}

List transactions

List all transactions for your project with filtering and pagination.

Request

fetch("https://api.thirdweb.com/v1/transactions?limit=20&page=1", {
method: "GET",
headers: {
"x-secret-key": "<your-project-secret-key>",
},
});

Response

{
"result": {
"pagination": {
"hasMore": true,
"limit": 20,
"page": 1
},
"transactions": [
{
"batchIndex": 0,
"cancelledAt": "string",
"chainId": "string",
"clientId": "string",
"confirmedAt": "string",
"confirmedAtBlockNumber": "string",
"createdAt": "string",
"errorMessage": "string",
"from": "string",
"id": "string",
"transactionHash": "string",
"status": "QUEUED | SUBMITTED | CONFIRMED | FAILED",
"enrichedData": "value",
"executionParams": "value",
"executionResult": "value"
}
]
}
}