wallet_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)
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 paymentsordinals๐ฎ Bitcoin ordinals address (taproot) ๐ฏ Receive Bitcoin ordinals, runes, brc-20spark๐ฎ Spark address (the main one, not the airdrop one) ๐ฏ Receive Spark BTC and BTKN tokensstarknet๐ฎ Starknet address ๐ฏ Receive Starknet tokens & collectiblesstacks๐ฎ Stacks address ๐ฏ Receive Stacks tokens & collectibles
Permissions Required
๐ Your app must have first connected to the wallet and obtained account read permissions
๐ If your user has not connected their active Xverse account to your app yet, and your app does not the necessary account read permissions -> the method will throw with an access denied error
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
addressAn address object representing the requested receive address:
Last updated