iOS Classes
Last updated
Last updated
properties
Type
Description
appKey
String
unique id assigned to each dapp, contact us
UUID
UUID
the unique user id in dapp server side, recommend to use uuid
dappName
String
dapp name
dappIcon
String
dapp icon logo, no small than 144x144px
disableInstall
boolean
Default: false, Whether to disable the default install page when MYKEY is not installed
scheme
String
Deeplink MYKEY callback to dapp,defined in refer scheme configuration in 1.2, e.g. demoscheme
properties
Type
Description
dappName
String
dapp name
dappIcon
String
dapp icon logo, no small than 144x144px
disableInstall
boolean
Default: false, Whether to disable the default install page when MYKEY is not installed
scheme
String
Deeplink MYKEY callback to dapp,defined in refer scheme configuration in 1.2, e.g. demoscheme
properties
Type
Description
userName
String
Optional, Custom user name
callBackUrl
String
Optional, Callback endpoint url of dapp server,MYKEY will callback to dapp server after authorize request success at first, then wake up mobile client
info
String
Info, Semantic description of MYKEY display to the user for authorization page
properties
Type
Description
from
String
From account
to
String
To account
amount
String
Amount, e.g "1.0000"
symbol
String
Symbol, e.g. "EOS"
contractName
String
contract code name, e.g. "eosio.token"
decimal
String
Decimal
memo
String
Memo
info
String
Semantic description of MYKEY display to the user about this transfer action
orderId
String
The order id from dapp, optional, can be null, e.g. "20190606001"
callbackUrl
String
Optional, callback endpoint url of dapp server,MYKEY will callback to dapp server after transfer request success at first, then wake up mobile client
properties
Type
Description
orderId
String
The order id from dapp, optional, can be null
info
String
Semantic description of MYKEY display to the user about this action
callbackUrl
String
Optional, callback endpoint url of dapp server,MYKEY will callback to dapp server after contract request success at first, then wake up mobile client
actions: [BaseAction]
List of contract actions
properties
Type
Description
account
String
contract code name
name
String
contract action name
info
String
Semantic description of MYKEY display to the user about this action
data
Any
The parameter object passed according to the contract abi definition,this any type should be valid by JSONSerialization.isValidJSONObject(_ obj: Any), e.g. {key1: value1, key2: value2 }
properties
Type
Description
account
String
contract code name
name
String
contract action name, use "transfer"
info
String
Semantic description of MYKEY display to the user about this action
data
Transfer info object
properties
Type
Description
from
String
From account
to
String
To account
quantity
String
Amount and Symbol
memo
String
Memo
properties
Type
Description
message
String
Unsigned messages
callbackUrl
String
Optional, callback endpoint url of dapp server,MYKEY will callback to dapp server after sign request success at first, then wake up mobile client
properties
Description
success
Success Callback
failure
Failure Callback, errorCode list
cancelled
Cancel Callback
properties
Description
success
Success Callback
failure
Failure Callback