Requires wallet support.

The getreceivedbyaddress RPC returns the total amount received by the specified address in transactions with the specified number of confirmations. It does not count coinbase transactions.

Parameter #1—the address

Name Type Presence Description
Address string Required
(exactly 1)
The address whose transactions should be tallied

Parameter #2—the minimum number of confirmations

Result—the number of pai’s received

Name Type Presence Description
result number (pai’s) Required
(exactly 1)
The number of pai’s received by the address, excluding coinbase transactions. May be 0


Get the pai’s received for a particular address, only counting transactions with six or more confirmations:

pai-cli -testnet getreceivedbyaddress PaXVxzkruFZPidQjsDft9CW174Tr99xngu 6



See also