getaddresstxids
Returns the txids for an address(es) (requires addressindex to be enabled).
yerbas-cli getaddresstxids '{"addresses": ["XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"]}'
Arguments
Argument | Type | Description |
---|---|---|
"addresses" | (string) | (string) The base58check encoded address |
"start" | (number) | The start block height |
"end" | (number) | The end block height |
Arguments:
{
"addresses"
[
"address" (string) The base58check encoded address
,...
]
"start" (number) The start block height
"end" (number) The end block height
}
Output
Result | Type | Description |
---|---|---|
"transactionid" | (string) | The transaction id |
Result:
[
"transactionid" (string) The transaction id
,...
]
Examples
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/