> ## Documentation Index
> Fetch the complete documentation index at: https://docs.primevault.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ramps

> Ramps convert fiat to crypto (on-ramp) or crypto to fiat (off-ramp). Request a quote, execute it, then track the transaction to completion.

Ramps convert fiat to crypto (on-ramp) or crypto to fiat (off-ramp), such as USD to USDC or USDC to USD. To exchange one fiat currency for another, see [FX](/transactions/fx).

## API flow

<Steps>
  <Step title="Get a quote">
    Describe the source, destination, assets, and exactly one amount. Save the `quoteId` of the quote you choose. See [Get Quote](/transactions/ramps/get-quote).
  </Step>

  <Step title="Execute the quote">
    Create a transaction from the `quoteId`. See [Execute Quote](/transactions/ramps/execute-quote).
  </Step>

  <Step title="Approve the transaction">
    The new transaction is `PENDING` until approved. [Get the approval message](/approvals/get-approval-message), sign it, and [submit the approval](/approvals/submit-approval-action). The SDK's `createTransactionFromIntent()` does this for you. See [Approvals](/approvals/overview).
  </Step>

  <Step title="Track the transaction">
    Use [Retrieve Transaction](/transactions/retrieve-transaction) or [webhooks](/api-basics/webhooks) to track it until it reaches `COMPLETED`, `FAILED`, or `DECLINED`.
  </Step>
</Steps>

<CardGroup cols={2}>
  <Card title="Get Quote" icon="calculator" href="/transactions/ramps/get-quote" />

  <Card title="Execute Quote" icon="play" href="/transactions/ramps/execute-quote" />
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.