Skip to main content
GET
Count Withdrawal Transactions
Note: When using the production environment at moonpay.hel.io, set your API endpoint to api.hel.io/v1 and generate API keys there. For the development environment, use api.dev.hel.io/v1 and generate API keys from moonpay.dev.hel.io.
The response body is a bare number (for example 42), not an object like { "count": 42 }.

Authorizations

Authorization
string
header
required

Authentication using JWT token

Query Parameters

apiKey
string
required

Your API key, which can be generated from the Helio Dashboard settings page.

startDate
string

ISO 8601 start of createdAt range (inclusive).

endDate
string

ISO 8601 end of createdAt range (inclusive).

state
enum<string>[]

Filter by one or more withdrawal states.

Available options:
QUOTED,
SUBMITTING,
SUBMITTED,
BRIDGING,
COMPLETED,
FAILED,
FAILED_EXPIRED,
EXPIRED,
REFUNDED_BY_PROVIDER
sourceChain
string

Filter by source chain symbol (e.g. SOL, ETH).

destinationChain
string

Filter by destination chain symbol.

withdrawalConfigId
string

Filter by withdrawal config ID.

Response

Count retrieved successfully.

Number of matching withdrawal transactions.