arrow-downwallet_openReceive

Help Users Receive Bitcoin Ecosystem Assets

Your app can use the wallet_openReceive method to open the user's Receive screen in Xverse for a specific address type (payment, ordinals, stacks, spark, starknet).

This enables you to guide users directly to the correct receive flow, without asking them to manually navigate within the wallet.


Request Parameters

address (required)

A string representing which Xverse receive address to open.

Accepted values:

  • payment ๐Ÿ“ฎ Bitcoin payment address (native or nested segwit, depending on the current wallet setting) ๐ŸŽฏ Receive Bitcoin payments

  • ordinals ๐Ÿ“ฎ Bitcoin ordinals address (taproot) ๐ŸŽฏ Receive Bitcoin ordinals, runes, brc-20

  • spark ๐Ÿ“ฎ Spark address (the main one, not the airdrop one) ๐ŸŽฏ Receive Spark BTC and BTKN tokens

  • starknet ๐Ÿ“ฎ Starknet address ๐ŸŽฏ Receive Starknet tokens & collectibles

  • stacks ๐Ÿ“ฎ Stacks address ๐ŸŽฏ Receive Stacks tokens & collectibles


Permissions Required


Usage Example


wallet_openReceive Result: Open the Receive Screen

โœ… If the account is connected and the requested address exists:

  • the method resolves successfully

  • Xverse wallet opens the Receive screen for the requested address type

โŒ If the account is not connected or the requested address does not exist:

  • the method returns an error response


Response Format

The wallet_openReceive method returns a Promise that resolves to an OpenReceiveResult object.

address

An address object representing the requested receive address:

Last updated