Skip to main content

getaddressmempool

RPC help captured from Yerbas Core 4.0.1.4 (f0e2dde).

Use ./yerbas-cli help getaddressmempool on your node for help. In the GUI console omit yerbas-cli. HTTP examples use mainnet RPC port 15419; network-specific defaults and availability can differ.

getaddressmempool

Returns all mempool deltas for an address (requires addressindex to be enabled).

Arguments:
{
"addresses"
[
"address" (string) The base58check encoded address
,...
]
}

Result:
[
{
"address" (string) The base58check encoded address
"txid" (string) The related txid
"index" (number) The related input or output index
"satoshis" (number) The difference of duffs
"timestamp" (number) The time the transaction entered the mempool (seconds)
"prevtxid" (string) The previous txid (if spending)
"prevout" (string) The previous transaction output index (if spending)
}
]

Examples:
> yerbas-cli getaddressmempool '{"addresses": ["XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"]}'
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:15419/