JS Extensions
JSBridge is injected javascript code in MYKEY dapp browser enviroment by default, which support Scatter protocol, and web3js protocol.
In order to control the MYKEY application conveniently, MYKEY adds the following methods:
Check whether the current wallet is MYKEY
Close App window
Close App window and return to MYKEY.
Open full screen
Open full screen
Params
Close full screen
Close full screen.
Disable physical back button
Disable physical back button, only for Android
Allow physical back button
Allow physical back button, only for Android
Get MYKEY Account Information
Get MYKEY Account Information
Params
Return
Get client configuration
Get client configuration
Return
Send transaction
Send transaction
Params
Return
Example:
Buy ram on EOS.
New field extra will be effected from Android:2.5.0,IOS:2.5.0
Sign
Apply MYKEY sign transactions
Params
Return
Get Transaction Progress
Params
Return
Effective from: Android:2.5.0,iOS:2.5.0
Set application title
Set application title
Params
Show loading animation
Show loading animation
Hidden loading animation
hidden loading animation
serialize specified function call
serialize specified function call
Return
result:{"errorCode":0,"errorMsg":"","data":"[serialized data]"}
Params
Last updated