Start a fireblocks client wallet on Hathor network.
POST/fireblocks/start
Start a fireblocks client wallet on Hathor network.
Request
- application/json
Body
required
Data to start the wallet
wallet-id stringrequired
Define the key of the corresponding wallet it will be executed the request.
xpub stringrequired
Fireblocks xPub derived to the Fireblocks account path (m/44/280/0).
Responses
- 200
Start a wallet
- application/json
- Schema
- success
- no-wallet-id
- no-xpub
- start-failed
- wallet-already-started
- fireblocks-not-configured
- fireblocks-invalid-xpub
- fireblocks-api-error
Schema
any
Success
{
"success": true
}
No wallet id parameter
{
"success": false,
"message": "Parameter 'wallet-id' is required."
}
No xPub parameter
{
"success": false,
"message": "Parameter 'xpub' is required."
}
Wallet failed to start.
{
"success": false,
"message": "Failed to start wallet with id X"
}
Wallet with same id was already started.
{
"success": false,
"message": "Failed to start wallet with id X",
"errorCode": "WALLET_ALREADY_STARTED"
}
Missing Fireblocks client config.
{
"success": false,
"message": "Fireblocks client is not configured."
}
Fireblocks first address and local xPub first address do not match.
{
"success": false,
"message": "Fireblocks api generated a public key different from local public key."
}
Client raised an error when trying to connect to Fireblocks API.
{
"success": false,
"message": "Could not validate Fireblocks client config, received error: X"
}
Loading...