Download

arrow_down

Developer sercices

arrow_down

More

arrow_down
activityactivityactivityactivity
  • themelight
  • languageIcon

  • menu
Skip to Content
EnDocs
Reference
Bitget Deeplink

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 version
  • dappName -string DApp Name
  • dappIcon -string DApp Icon
  • action-string-Require
  • actionID-string-Require Action UUID
  • redirectUrl -string Callback URL

Response Pramas

  • status-string 0 success,1 fail
  • actionID-string Action UUID, same as Request

Open DApp

  • action = DApp
namevalue typeRequirenote
urlstringRequireDApp 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
namevalue typeRequirenote
chainstringRequireChain name, Select from Chain Config

Response: address-string

Add Token

  • action = addAsset
namevalue typeRequirenote
chainstringRequireChain name, Select from Chain Config
contractstringRequiredefault 0x
symbolstringRequiretoken symbol

Response: status-string 0 success, 1 fail

Send Transaction

  • action = send
namevalue typeRequirenote
chainstringRequireChain name, Select from Chain Config
contractstringRequiredefault 0x
tostringRequirereceiver address
amountstringRequire
memostringoptionaltx note

Response: hash-string hash

Sign

  • action = sign
namevalue typeRequirenote
chainstringRequireChain name, Select from Chain Config
signTypestringRequire[eth_sign/personal_sign/eth_signTypedData/eth_signTypedData_v3,/eth_signTypedData_v4]
msgstringRequiresign message

Response: sign-string

Last updated on