Navigate...
Get Transactions
sdk.distributions.getTransactions(id, params?)
Retrieve individual transaction batches for a distribution with pagination. Each batch represents a group of recipients processed in a single on-chain transaction. Use this to get transaction hashes for block explorer verification or to debug failed batches.
API key required to run methods
API Key *
Base URL
id
string
required
Distribution ID
Distribution ID
params.page
number
optional
Page number (default: 1)
Page (optional)
params.limit
number
optional
Items per page (default: 10)
Limit (optional)
params.orderBy
string
optional
Field to sort by
Order By (optional)
params.orderDir
'ASC' | 'DESC'
optional
Sort direction
Order Dir (optional)
Returns
PaginatedResponse<DistributionTransaction>
Paginated list of transaction batches
data[].id
string
Transaction batch identifier
data[].distributionId
string
Parent distribution ID
data[].batchIndex
number
Batch order index (0, 1, 2, ...)
data[].contractAddress
string | null
Token contract address for this batch
data[].value
string | null
Total value in wei for this batch
data[].recipientCount
number | null
Number of recipients included in this batch
data[].txHash
string | null
On-chain transaction hash (available after submission)
data[].status
string
PENDING | SUBMITTED | CONFIRMED | FAILED
data[].submittedAt
string | null
When the transaction was submitted
data[].confirmedAt
string | null
When the transaction was confirmed
meta.total
number
Total number of transaction batches
meta.page
number
Current page number
meta.limit
number
Items per page
meta.totalPages
number
Total number of pages
Errors
Invalid distribution id
The request is not authorized
You do not have permission to access this resource
Distribution not found
See Also
getStats()
Get aggregate counts instead of individual batches
get()
Get the overall distribution status
Generated Code