v1

latestOpenAPI 3.0.12026-08-061638881007.6 KB
Gas station (obsolete)

Find which gas station sponsors a specific account

Returns the sponsorship status for the given account, following the sponsorship hierarchy: 1) Domain-level sponsor for the account domain, 2) Parent domain sponsors (if includeSubDomains=true), 3) Account-level sponsor. Returns isSponsored=false if no sponsor is found.

get/v1/domain/{domainId}/sponsors/account/{accountId}/sponsor

Path parameters

domainIdstring uuid required

Domain ID of the account to check

accountIdstring uuid required

Account ID to find the sponsor for

Response

Sponsorship status returned

isSponsoredboolean required

Whether the account is sponsored by a gas station

sponsorAccountIdstring

Gas station account ID that is sponsoring

type'domain' | 'account' | 'none'
accountIdsstring[]
includeSubDomainsboolean
criticalCountnumber

Number of tickers in critical status. Omitted if balance fetch fails.