Fireblocks

The Fireblocks SDK main class. Use it to perform all of the SDK functionality. Call Fireblocks.initialize at application onCreate method to initialize the SDK.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun backupKeys(passphrase: String, callback: (result: Set<KeyBackup>) -> Unit? = null)

Backup end-user keys to Fireblocks

Link copied to clipboard
fun deriveAssetKey(extendedPrivateKey: String, bip44DerivationParams: DerivationParams, callback: (KeyData) -> Unit)

Performs derivation from a root extendedPrivateKey to obtain the private keys of specific assets in wallet accounts

Link copied to clipboard
fun exportFullKeys(chainCode: String, cloudKeyShares: Map<String, Set<String>>, callback: (result: Set<FullKey>) -> Unit)

Reconstructs all shares of a CMP key (mobile + cloud shares) into the full public and private keys.

Link copied to clipboard
fun generateMPCKeys(algorithms: Set<Algorithm>, callback: (result: Set<KeyDescriptor>) -> Unit? = null)

Start the MPC setup process for selected algorithms

Link copied to clipboard

Get the device initialization status

Link copied to clipboard

Information about the generated MPC keys

Link copied to clipboard

Get the signature status for a specific transaction

Link copied to clipboard
fun handleIncomingMessage(payload: String, callback: (success: Boolean) -> Unit)

Pass an MPC message received from Fireblocks webhook

Link copied to clipboard
fun recoverKeys(passphrase: String, callback: (result: Set<KeyRecovery>) -> Unit? = null)

Recover an end-user key backup that was done using backupKeys

Link copied to clipboard
fun signTransaction(txId: String, callback: (result: TransactionSignature) -> Unit? = null)

Sign a transaction using the end-user key

Link copied to clipboard
fun takeover(callback: (result: Set<FullKey>) -> Unit? = null)

Reconstructs all shares of a CMP key (mobile + cloud shares) into the full public and private keys.