API Reference
fulmine/v1/notification.proto (version not set)
Download OpenAPI specification:Download
Response samples
- 200
- default
Content type
application/json
{- "result": {
- "notification": {
- "address": "string",
- "newVtxos": [
- {
- "outpoint": {
- "txid": "string",
- "vout": 0
}, - "receiver": {
- "pubkey": "string",
- "amount": "string"
}, - "roundTxid": "string",
- "spentBy": "string",
- "expireAt": "string"
}
], - "spentVtxos": [
- {
- "outpoint": {
- "txid": "string",
- "vout": 0
}, - "receiver": {
- "pubkey": "string",
- "amount": "string"
}, - "roundTxid": "string",
- "spentBy": "string",
- "expireAt": "string"
}
]
}
}, - "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
WatchAddressForRollover watches an address for rollover
Request Body schema: application/jsonrequired
object (v1RolloverAddress) | |||||||
|
Responses
Request samples
- Payload
Content type
application/json
{- "rolloverAddress": {
- "address": "string",
- "taprootTree": {
- "scripts": [
- "string"
]
}, - "destinationAddress": "string"
}
}
Response samples
- 200
- default
Content type
application/json
{ }
Service_CreateInvoice
Request Body schema: application/jsonrequired
amount | string <uint64> |
memo | string |
preimage | string |
Responses
Request samples
- Payload
Content type
application/json
{- "amount": "string",
- "memo": "string",
- "preimage": "string"
}
Response samples
- 200
- default
Content type
application/json
{- "invoice": "string",
- "preimageHash": "string"
}
GetOnboardAddress returns onchain address and invoice for requested amount
Request Body schema: application/jsonrequired
amount | string <uint64> |
Responses
Request samples
- Payload
Content type
application/json
{- "amount": "string"
}
Response samples
- 200
- default
Content type
application/json
{- "address": "string"
}
Returns round info for optional round_id (no round_id returns current round info)
path Parameters
roundId required | string |
Responses
Response samples
- 200
- default
Content type
application/json
{- "round": {
- "id": "string",
- "start": "string",
- "end": "string",
- "roundTx": "string",
- "congestionTree": {
- "levels": [
- {
- "nodes": [
- {
- "txid": "string",
- "tx": "string",
- "parentTxid": "string"
}
]
}
]
}, - "forfeitTxs": [
- "string"
], - "connectors": [
- "string"
]
}
}
Send asks to send amount to ark address by joining a round
Request Body schema: application/jsonrequired
address | string |
amount | string <uint64> |
Responses
Request samples
- Payload
Content type
application/json
{- "address": "string",
- "amount": "string"
}
Response samples
- 200
- default
Content type
application/json
{- "txid": "string"
}
SendOnChain asks to send requested amount to requested onchain address
Request Body schema: application/jsonrequired
address | string |
amount | string <uint64> |
Responses
Request samples
- Payload
Content type
application/json
{- "address": "string",
- "amount": "string"
}
Response samples
- 200
- default
Content type
application/json
{- "txid": "string"
}
ListVHTLC = list all vhtlc OR filter by preimage_hash
query Parameters
preimageHashFilter | string |
Responses
Response samples
- 200
- default
Content type
application/json
{- "vhtlcs": [
- {
- "outpoint": {
- "txid": "string",
- "vout": 0
}, - "receiver": {
- "pubkey": "string",
- "amount": "string"
}, - "roundTxid": "string",
- "spentBy": "string",
- "expireAt": "string"
}
]
}
CreateVHTLCAddress computes a VHTLC address
Request Body schema: application/jsonrequired
preimageHash | string |
senderPubkey | string |
receiverPubkey | string |
refundLocktime | integer <int64> (Optional absolute locktime for refund condition (in blocks)) |
object (RelativeLocktime represents a relative timelock) | |
object (RelativeLocktime represents a relative timelock) | |
object (RelativeLocktime represents a relative timelock) |
Responses
Request samples
- Payload
Content type
application/json
{- "preimageHash": "string",
- "senderPubkey": "string",
- "receiverPubkey": "string",
- "refundLocktime": 0,
- "unilateralClaimDelay": {
- "type": "LOCKTIME_TYPE_UNSPECIFIED",
- "value": 0
}, - "unilateralRefundDelay": {
- "type": "LOCKTIME_TYPE_UNSPECIFIED",
- "value": 0
}, - "unilateralRefundWithoutReceiverDelay": {
- "type": "LOCKTIME_TYPE_UNSPECIFIED",
- "value": 0
}
}
Response samples
- 200
- default
Content type
application/json
{- "address": "string",
- "claimPubkey": "string",
- "refundPubkey": "string",
- "serverPubkey": "string",
- "swapTree": {
- "claimLeaf": {
- "version": 0,
- "output": "string"
}, - "refundLeaf": {
- "version": 0,
- "output": "string"
}, - "refundWithoutBoltzLeaf": {
- "version": 0,
- "output": "string"
}, - "unilateralClaimLeaf": {
- "version": 0,
- "output": "string"
}, - "unilateralRefundLeaf": {
- "version": 0,
- "output": "string"
}, - "unilateralRefundWithoutBoltzLeaf": {
- "version": 0,
- "output": "string"
}
}, - "refundLocktime": "string",
- "unilateralClaimDelay": "string",
- "unilateralRefundDelay": "string",
- "unilateralRefundWithoutReceiverDelay": "string"
}
ChangePassword changes the password used to encrypt/decrypt the HD seeds. It requires the wallet to be locked.
Request Body schema: application/jsonrequired
currentPassword | string The current password used to encrypt the walley. |
newPassword | string The new password replacing the current one. |
Responses
Request samples
- Payload
Content type
application/json
{- "currentPassword": "string",
- "newPassword": "string"
}
Response samples
- 200
- default
Content type
application/json
{ }
CreateWallet creates an HD Wallet based on signing seeds, encrypts them with the password and persists the encrypted seeds.
Request Body schema: application/jsonrequired
privateKey | string The private key from where signing key pairs are derived. In 64 chars hexadecimal format. |
password | string The password to decrypt HD wallet. After creation, the wallet is locked and the same password is required to unlock it. |
serverUrl | string The url of the Server to connect to. |
Responses
Request samples
- Payload
Content type
application/json
{- "privateKey": "string",
- "password": "string",
- "serverUrl": "string"
}
Response samples
- 200
- default
Content type
application/json
{ }
RestoreWallet restores an HD Wallet based on signing seeds, encrypts them with the password and persists the encrypted seeds.
Request Body schema: application/jsonrequired
mnemonic | string The mnemonic from where deriving signing key pairs. |
password | string The password to decrypt HD wallet. After restoration, the wallet is locked and the same password is required to unlock it. |
serverUrl | string The url of the Server to connect to. |
Responses
Request samples
- Payload
Content type
application/json
{- "mnemonic": "string",
- "password": "string",
- "serverUrl": "string"
}
Response samples
- 200
- default
Content type
application/json
{- "result": { },
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
Unlock tries to unlock the HD Wallet using the given password.
Request Body schema: application/jsonrequired
password | string The password to unlock the wallet. |
Responses
Request samples
- Payload
Content type
application/json
{- "password": "string"
}
Response samples
- 200
- default
Content type
application/json
{ }