qbit-rpc
    Preparing search index...

    Type Alias Capability

    Capability:
        | "wallet-read"
        | "wallet-write"
        | "broadcast"
        | "mining"
        | "wallet-admin"
        | "node-admin"

    A capability a client must opt into. Without any, a client can only call read methods that touch no wallet.

    • wallet-read: read wallet state (getwalletinfo, gettransaction, listunspent, ...).
    • wallet-write: change wallet state or sign (walletcreatefundedpsbt, walletprocesspsbt, walletpassphrase, walletlock, ...).
    • broadcast: testmempoolaccept, sendrawtransaction and submitpackage.
    • mining: getblocktemplate, submitblock, createauxblock and submitauxblock.
    • wallet-admin: create, load, unload, back up and re-key wallets, import descriptors, rescan and refill keypools (createwallet, importdescriptors, rescanblockchain, walletpassphrasechange, keypoolrefill, ...).
    • node-admin: node administration (stop, setban, addnode, pruneblockchain, savemempool, ping, ...). No allowlisted method needs it: a client opens these through extraMethods only. Its calls wait for the chain guard, by the chain's identity only, and none goes in a batch.