Skip to main content
Both need authentication; see Authentication. Neither one moves funds, so they are safe to call early in a session.

get_wallet_addresses

This tool returns the user’s embedded wallet addresses. It takes no arguments:
The response has two fields: Either field can be empty if that wallet is not set up yet. In that case, send the user to openfinance.tech to finish setup. Use it to:
  • Check the connection. One call confirms the credentials and the wallet. See Verifying the connection.
  • Start a balance check. Take the addresses, then read holdings one chain at a time with onchain_get_address_holdings.
  • Decide whether a transfer is external. Compare a recipient with these addresses and with the Polymarket deposit wallet from the polymarket action get_deposit_wallet.
Hyperliquid and Polymarket have their own funding addresses. Use the hyperliquid action get_deposit_address and the polymarket action get_deposit_wallet for those.

get_onramp_url

This tool returns a checkout link where the user buys crypto with fiat. The crypto is delivered to the user’s own wallet. The agent never signs anything and never sees payment details. Here is a request to buy 100 dollars of USDC on Base:
The request takes these fields: The response includes the provider and a url. Give the URL to the user to open.

Provider routing

You do not choose the provider. Set baseCurrency and the server routes the request.

INR pairs

With baseCurrency: 'inr', the token and chain must be one of these pairs or the call is rejected: If the user asks for a pair outside the list, propose a supported one. For example, for USDC with INR on Ethereum, suggest Polygon.

Tips

  • Do not ask for card or bank details. The provider collects them on its own page, along with any identity check it requires.
  • Do not poll for payment status. Confirm delivery by reading the wallet’s holdings on the destination chain.
  • Plan the next step. Funds land in the wallet, not on a venue. For Hyperliquid from INR: buy USDC on Polygon or BNB Chain, bridge to Arbitrum with the Relay tools, then deposit.
  • Check other wallets first. Before suggesting an onramp, check whether the user already holds funds on another chain that could be bridged.

Next

Fund with card or bank

The plain-language guide.

Onchain tools

Read holdings and send tokens.