getnextpubkeydbaddress
New since v30.2 Wallet
Summary
Returns the next allocatable imported P2MR pubkey-pool address for a watch-only wallet.
Description
Returns the next allocatable imported P2MR pubkey-pool address for a watch-only wallet.
Change Buckets
- New since v30.2
Arguments
internal(BOOL): Whether to allocate from the internal/change poolaccount(NUM): Account number to allocate from
Results
value(OBJ): No description.address(STR): The next imported P2MR addresspubkey(STR_HEX): P2MR pubkey backing the allocated addressinternal(BOOL): Whether the address came from the internal/change poolaccount(NUM): Account number for the allocated addressindex(NUM): Imported pool index for the allocated addressremaining(NUM): Remaining allocatable entries in the same pool after this allocation
Examples
qbit-cli getnextpubkeydbaddress
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getnextpubkeydbaddress", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/
qbit-cli getnextpubkeydbaddress true
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getnextpubkeydbaddress", "params": [true]}' -H 'content-type: application/json' http://127.0.0.1:8352/