GET
/
api
/
v0
/
customers
/
{customerId}
/
liquidation_addresses
Get all liquidation addresses for a customer
curl --request GET \
  --url https://api.devdraft.ai/api/v0/customers/{customerId}/liquidation_addresses
[
  {
    "id": "la_generated_id_123",
    "state": "active",
    "customer_id": "cust_123",
    "chain": "ethereum",
    "currency": "usdc",
    "address": "0x4d0280da2f2fDA5103914bCc5aad114743152A9c",
    "external_account_id": "<string>",
    "prefunded_account_id": "<string>",
    "bridge_wallet_id": "<string>",
    "destination_payment_rail": "<string>",
    "destination_currency": "<string>",
    "custom_developer_fee_percent": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>"
  }
]

Path Parameters

customerId
string
required

Unique identifier for the customer

Example:

"cust_123"

Response

List of liquidation addresses

id
string
required

Unique identifier for the liquidation address

Example:

"la_generated_id_123"

state
string
required

Current state of the liquidation address

Example:

"active"

customer_id
string
required

Customer ID this liquidation address belongs to

Example:

"cust_123"

chain
string
required

Blockchain chain

Example:

"ethereum"

currency
string
required

Currency

Example:

"usdc"

address
string
required

Liquidation address

Example:

"0x4d0280da2f2fDA5103914bCc5aad114743152A9c"

created_at
string
required

Creation timestamp

updated_at
string
required

Last update timestamp

external_account_id
string

External account ID

prefunded_account_id
string

Prefunded account ID

bridge_wallet_id
string

Bridge wallet ID

destination_payment_rail
string

Destination payment rail

destination_currency
string

Destination currency

custom_developer_fee_percent
string

Custom developer fee percent