Skip to main content

Module command

Module command 

Source
Expand description

Request / response types used in APIs for top level commands.

Structs§

ActiveHumanBitcoinAddress
The user’s active Human Bitcoin Address, paired with whether they may currently change it. This is what get/upsert_*_human_bitcoin_address serve back to the app.
BackupInfo
ClaimGeneratedHumanBitcoinAddress
Claims a generated human Bitcoin address.
CloseChannelPreflightResponse
CloseChannelRequest
CreateInvoiceRequest
CreateInvoiceResponse
CreateOfferRequest
CreateOfferResponse
DebugInfo
Diagnostic information for debugging purposes.
EnclavesToProvisionForUser
The gateway→backend form of EnclavesToProvisionRequest, carrying the user_pk that the gateway verified from the app’s bearer auth token.
EnclavesToProvisionRequest
Request to query which node enclaves need provisioning, given the client’s trusted measurements.
FeeEstimate
GetGeneratedUsernameResponse
Response for get_generated_username endpoint.
GetHumanBitcoinAddressResponse
Response for get_human_bitcoin_address.
GetNewPayments
Sync a batch of new payments to local storage. Results are returned in ascending (created_at, payment_id) order.
GetNextUnusedAddressResponse
GetUpdatedPaymentMetadata
Get a batch of payment metadata in asc (updated_at, payment_id) order.
GetUpdatedPayments
Get a batch of payments in ascending (updated_at, payment_id) order.
HumanBitcoinAddress
The user’s active Human Bitcoin Address: the active (non-expired) primary custom HBA if present, otherwise the generated fallback. Aliases are never returned here.
HumanBitcoinAddressV1
The legacy flat HBA shape returned by the deprecated v1 *_human_bitcoin_address endpoints, built from the v2 types above.
ListChannelsResponse
NodeInfo
Information about the Lexe node.
OnchainDescriptors
BIP84 wpkh output descriptors for the on-chain wallet.
OpenChannelPreflightRequest
OpenChannelPreflightResponse
OpenChannelRequest
The information required for the user node to open a channel to the LSP.
OpenChannelResponse
PayInvoicePreflightRequest
PayInvoicePreflightResponse
PayInvoiceRequest
PayInvoiceResponse
PayOfferPreflightRequest
PayOfferPreflightResponse
PayOfferRequest
PayOfferResponse
PayOnchainPreflightRequest
PayOnchainPreflightResponse
PayOnchainRequest
PayOnchainResponse
PaymentCreatedIndexStruct
Upgradeable API struct for a payment index.
PaymentCreatedIndexes
Upgradeable API struct for a list of PaymentCreatedIndexs.
PaymentIdStruct
Upgradeable API struct for a PaymentId.
ResyncRequest
SetupGDrive
UpdatePersonalNote
A request to update the personal note on a payment. Pass None to clear.
UpsertCustomHumanBitcoinAddress
Upserts the user’s custom human Bitcoin address.
UpsertHumanBitcoinAddressResponse
Response for upsert_custom_human_bitcoin_address.
VecPaymentId
An upgradeable version of Vec<PaymentId>.

Enums§

GDriveStatus

Type Aliases§

CloseChannelPreflightRequest