Skip to main content
GET
/
assets
/
available-inputs
Get available input assets for a given output asset
curl --request GET \
  --url https://v2.prod.halliday.xyz/assets/available-inputs \
  --header 'Authorization: Bearer <token>'
{
  "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": {
    "fiats": [
      "usd"
    ],
    "tokens": []
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

sandbox
boolean

Whether to use sandbox environment

inputs[]
string[]

Filter by specific input assets

Identifier in the token format ("chain:address") or fiat currency code ("USD")

outputs[]
string[]

Output assets to find inputs for

Identifier in the token format ("chain:address") or fiat currency code ("USD")

onramps[]
string[]

Filter by specific onramp providers

offramps[]
string[]

Filter by specific offramp providers

Response

Available input assets grouped by output

{key}
object