Backs a UTILA row with a wallet holding addresses, as a mintfx ledger
account is backed: a CFX_ONLY wallet whose one UTILA secret holds no key.
Another row on the same Utila wallet shares that wallet. Each chain's
addresses take account indexes in the order given. On a wallet that exists
already, addresses it lacks take the next free indexes, and added
counts them. dryRun runs the checks and writes nothing.
Backs a Utila wallet, as back does a row's: the one wallet and UTILA
secret for that Utila wallet, holding addresses. vaultId is Utila's id
of a live vault. When no backoffice wallet names the Utila wallet, a UTILA
row UTILA_<walletId> is made on the backed wallet; one that does is left
alone. row is the row made, or the first one naming it.
utilaVaultId is the uvault_… id of a live vault: required for a
UTILA wallet, refused for any other provider.
Hard-deletes the wallet; b2b.backoffice_wallet has no deleted_at.
Refused while a ledger account sits on its wallet and no other row holds
it: the account would then read as mintfx, with no PDA behind it.
Optionalinput: {Optionalbacked?: booleanWhether a wallet backs the row.
Optionalids?: string[]OptionalorderBy?: DbOrderByCriterion<Defaults to name ascending.
Optionalpage?: numberOptionalpageSize?: numberOptionalproviders?: ("SOLANA" | "LEDGER_ACCOUNT" | "UTILA" | "WALLET")[]Optionalstatuses?: ("ACTIVE" | "DISABLED")[]A write that changes nothing returns the unchanged row without busting.
utilaVaultId moves a UTILA wallet to another live vault. Omitted, the
wallet keeps its vault; a wallet becoming UTILA must name one.
Authoritative writer for
b2b.backoffice_wallet, the config behind/wallets. Once a write commits it busts both snapshots in the sharedbackoffice-walletnamespace: the whole-table one (BackofficeWalletQueryService) and the Utila-only one (UtilaBackofficeWalletService).