Provider Initialisation
This function does not trigger any UI elements
Description
The base component for the Metafi SDK which takes in your API Key, unique user ID, and other options as props.
Details
Signature
Arguments
apiKey
String
Your API Key. This can be displayed publicly
secretKey
String
Your Secret Key. Keep this securely and do not expose.
supportedChains
Array
customTokens
Array
options
Object
metafiSSO
Object
Specify options related to metafiSSO. Sample object:
metafiSSO.pwdRecoveryMeta?
Object
Please note that if your service is down, users will not be able to recover their wallet on new devices.
(POST) storeSecretUrl
Request body:
metafiUserId (String)
share (String)
Response: 204 No Content
(GET) retrieveSecretUrl
Request body:
metafiUserId (String)
Response: 200 Ok
body:
share (String)
Return Value
N/A
Example
Last updated