Call up Nabox App to open DApp/Transfer
Invoke the Nabox App and open your DApp in the browser, then trigger the Nabox App to initiate a transfer.
URI Scheme Basic Format
nabox://com.wallet.nabox?parameter1=xxx¶meter2=xxx...
Protocol Header:
nabox://com.wallet.nabox
Parameter:Provide different parameters based on the type of operation.
Notice:The link parameters need to be URI-encoded (escaped) to prevent parsing errors caused by special characters.
1. Open the DApp page
Example
nabox://com.wallet.nabox?type=1&nativeId=1&url=https%3A%2F%2Fwww.n.com
Parameter Description
type
string
yes
1
Operation type, 1
means opening a DApp
nativeId
string
yes
1
Chain ID, indicating the network of the current transfer
url
string
yes
https%3A%2F%2Fwww.baidu.com
DApp's web address, URI encoding required
2. Initiate a transfer request
Example
nabox://com.wallet.nabox?type=2&nativeId=1&assertName=USDT&contractAddress=0x12312311&amount=1.123&toAddress=0x1234564789794&memo='helllo nabox'
Parameter Description
type
string
yes
2
Operation type, 2
means transfer
nativeId
string
yes
1
Chain ID
assertName
string
yes
usdt
Asset name (e.g. USDT)
contractAddress
string
yes
0x1da...3f76
Contract Address
amount
string
yes
1
Transfer amount
toAddress
string
yes
0x3b....9794
Receiving Address
memo
string
no
hello nabox
Transfer Notes
Last updated