# On-Ramp Methods

#### getDepositBankAccount

Retrieves the bank account details a user should wire funds to for a fiat deposit. The response contains everything needed to display payment instructions in your UI (account number, routing info, bank name, etc.).

```
const bankAccount = await rampClient.getDepositBankAccount({
  currency: "USD",
});
```

Pass the target `currency` code and the client returns the matching bank account details. This is the starting point for any fiat on-ramp flow where the user sends a wire or ACH transfer.

#### getDepositWallet

Fetches a deposit wallet address for a specific crypto asset and network. Use this when a user wants to on-ramp by sending crypto directly.

```
const wallet = await rampClient.getDepositWallet({
  participantCode: "B0100010",
  currency: "BTC",
  network: "ETH",
});
```

The `participantCode` identifies the account being credited. The `currency` and `network` fields let you target the right chain, so you can request a BTC address on Ethereum (wrapped), native Bitcoin, or whatever combination your deployment supports.


---

# 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/on-off-ramp-module/on-ramp-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.
