# Core Read Methods

#### getCryptoCheckout

Fetches the current state of an existing checkout session by its client reference. Use this to poll payment status or to rehydrate a checkout screen after navigation.

```
const checkout = await paymentClient.getCryptoCheckout({
  clientReference: "order-1",
});
```

The response includes the payment status, settlement details, and the original checkout parameters. This is the primary method for asynchronous status tracking — call it on an interval or after a webhook trigger to update your UI.

#### getSupportedBlockchains

Returns the list of blockchains and network options available for a given currency. Use this to populate chain-selection UIs and to validate supported routes before creating a checkout.

```
const supported = await paymentClient.getSupportedBlockchains({
  currency: "USDT",
});
```

Response items include the blockchain name, network identifier, and supported currency denominations. Call this once on page load or cache the result to avoid repeated lookups.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://city-protocol.gitbook.io/docs/software-development-kit/payment/core-read-methods.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
