Bitget Deeplink
BKConnect is a Deeplink-based technology implementation that helps developers open the Bitget mobile wallet from a Dapp and jump to a specified location (portable parameters) to achieve fast and stable interaction with the Bitget mobile wallet.
Bitget Mobile Apps support Deeplink URL
💡
Tip
Tips:Android only support https://bkcode.vip?{params}
.
bitkeep://bkconnect?{params}
https://bkcode.vip?{params}
Common Pramas
Request Pramas
version -string
BKConnect versiondappName -string
DApp NamedappIcon -string
DApp Iconaction-string-Require
actionID-string-Require
Action UUIDredirectUrl -string
Callback URL
Response Pramas
status-string
0 success,1 failactionID-string
Action UUID, same as Request
Open DApp
action
=DApp
name | value type | Require | note |
---|---|---|---|
url | string | Require | DApp link |
No Response
Switch Network
Add _needChain=xxxx
in url:
- ETH:
{DAppLink}?_needChain=eth
- BSC:
{DAppLink}?_needChain=bnb
- Heco:
{DAppLink}?_needChain=ht
Tips:need reload page
Get Account
action
=getAccount
name | value type | Require | note |
---|---|---|---|
chain | string | Require | Chain name, Select from Chain Config |
Response:
address-string
Add Token
action
=addAsset
name | value type | Require | note |
---|---|---|---|
chain | string | Require | Chain name, Select from Chain Config |
contract | string | Require | default 0x |
symbol | string | Require | token symbol |
Response:
status-string
0 success, 1 fail
Send Transaction
action
=send
name | value type | Require | note |
---|---|---|---|
chain | string | Require | Chain name, Select from Chain Config |
contract | string | Require | default 0x |
to | string | Require | receiver address |
amount | string | Require | |
memo | string | optional | tx note |
Response:
hash-string
hash
Sign
action
=sign
name | value type | Require | note |
---|---|---|---|
chain | string | Require | Chain name, Select from Chain Config |
signType | string | Require | [eth_sign/personal_sign/eth_signTypedData/eth_signTypedData_v3,/eth_signTypedData_v4] |
msg | string | Require | sign message |
Response:
sign-string
Last updated on