validateaddress - Particl RPC
validateaddress "address" Return information about the given particl address. Arguments: 1. "address" (string, required) The particl address to validate Result: { "isvalid" : true|false, (boolean) If the address is valid or not. If not, this is the only property returned. "address" : "address", (string) The particl address validated "scriptPubKey" : "hex", (string) The hex encoded scriptPubKey generated by the address "ismine" : true|false, (boolean) If the address is yours or not "iswatchonly" : true|false, (boolean) If the address is watchonly "isscript" : true|false, (boolean, optional) If the address is P2SH or P2WSH. Not included for unknown witness types. "iswitness" : true|false, (boolean) If the address is P2WPKH, P2WSH, or an unknown witness version "witness_version" : version (number, optional) For all witness output types, gives the version number. "witness_program" : "hex" (string, optional) For all witness output types, gives the script or key hash present in the address. "script" : "type" (string, optional) The output script type. Only if "isscript" is true and the redeemscript is known. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash, witness_unknown "hex" : "hex", (string, optional) The redeemscript for the P2SH or P2WSH address "addresses" (string, optional) Array of addresses associated with the known redeemscript (only if "iswitness" is false). This field is superseded by the "pubkeys" field and the address inside "embedded". [ "address" ,... ] "pubkeys" (string, optional) Array of pubkeys associated with the known redeemscript (only if "script" is "multisig") [ "pubkey" ,... ] "sigsrequired" : xxxxx (numeric, optional) Number of signatures required to spend multisig output (only if "script" is "multisig") "pubkey" : "publickeyhex", (string, optional) The hex value of the raw public key, for single-key addresses (possibly embedded in P2SH or P2WSH) "embedded" : {...}, (object, optional) information about the address embedded in P2SH or P2WSH, if relevant and known. It includes all validateaddress output fields for the embedded address, excluding "isvalid", metadata ("timestamp", "hdkeypath", "hdmasterkeyid") and relation to the wallet ("ismine", "iswatchonly", "account"). "iscompressed" : true|false, (boolean) If the address is compressed "account" : "account" (string) DEPRECATED. The account associated with the address, "" is the default account "timestamp" : timestamp, (number, optional) The creation time of the key if available in seconds since epoch (Jan 1 1970 GMT) "hdkeypath" : "keypath" (string, optional) The HD keypath if the key is HD and available "hdmasterkeyid" : "<hash160>" (string, optional) The Hash160 of the HD master pubkey } Examples: > particl-cli validateaddress "PswXnorAgjpAtaySWkPSmWQe3Fc8LmviVc" > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["PswXnorAgjpAtaySWkPSmWQe3Fc8LmviVc"] }' -H 'content-type: text/plain;' http://127.0.0.1:51935/
This is a website, created out of frustration with uncomplete and outdated Particl Core RPC documentation online.
Particl version: 0.16.0.1
Note that the RPC is from a regtest node (for completeness), so it includes some additional calls that a regular node doesn't have.
Anon
Blockchain
getbestblockhash
getblock
getblockchaininfo
getblockcount
getblockdeltas
getblockhash
getblockhashes
getblockheader
getchaintips
getchaintxstats
getdifficulty
getmempoolancestors
getmempooldescendants
getmempoolentry
getmempoolinfo
getrawmempool
getspentinfo
gettxout
gettxoutproof
gettxoutsetinfo
gettxoutsetinfobyscript
preciousblock
pruneblockchain
savemempool
verifychain
verifytxoutproof
getblock
getblockchaininfo
getblockcount
getblockdeltas
getblockhash
getblockhashes
getblockheader
getchaintips
getchaintxstats
getdifficulty
getmempoolancestors
getmempooldescendants
getmempoolentry
getmempoolinfo
getrawmempool
getspentinfo
gettxout
gettxoutproof
gettxoutsetinfo
gettxoutsetinfobyscript
preciousblock
pruneblockchain
savemempool
verifychain
verifytxoutproof
Control
Generating
Governance
Mnemonic
Network
Rawtransactions
Smsg
Usbdevice
Util
Wallet
abandontransaction
abortrescan
addmultisigaddress
backupwallet
buildscript
bumpfee
clearwallettransactions
createsignaturewithwallet
debugwallet
deriverangekeys
dumpprivkey
dumpwallet
encryptwallet
extkey
extkeyaltversion
extkeygenesisimport
extkeyimportmaster
filteraddresses
filtertransactions
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getcoldstakinginfo
getnewaddress
getnewextaddress
getnewstealthaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
getstakinginfo
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importmulti
importprivkey
importprunedfunds
importpubkey
importstealthaddress
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
liststealthaddresses
listtransactions
listunspent
listunspentanon
listunspentblind
listwallets
lockunspent
manageaddressbook
move
removeprunedfunds
rescanblockchain
reservebalance
rewindchain
scanchain
sendanontoanon
sendanontoblind
sendanontopart
sendblindtoanon
sendblindtoblind
sendblindtopart
sendmany
sendparttoanon
sendparttoblind
sendtoaddress
sendtypeto
setaccount
settxfee
signmessage
walletlock
walletpassphrase
walletpassphrasechange
walletsettings
abortrescan
addmultisigaddress
backupwallet
buildscript
bumpfee
clearwallettransactions
createsignaturewithwallet
debugwallet
deriverangekeys
dumpprivkey
dumpwallet
encryptwallet
extkey
extkeyaltversion
extkeygenesisimport
extkeyimportmaster
filteraddresses
filtertransactions
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getcoldstakinginfo
getnewaddress
getnewextaddress
getnewstealthaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
getstakinginfo
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importmulti
importprivkey
importprunedfunds
importpubkey
importstealthaddress
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
liststealthaddresses
listtransactions
listunspent
listunspentanon
listunspentblind
listwallets
lockunspent
manageaddressbook
move
removeprunedfunds
rescanblockchain
reservebalance
rewindchain
scanchain
sendanontoanon
sendanontoblind
sendanontopart
sendblindtoanon
sendblindtoblind
sendblindtopart
sendmany
sendparttoanon
sendparttoblind
sendtoaddress
sendtypeto
setaccount
settxfee
signmessage
walletlock
walletpassphrase
walletpassphrasechange
walletsettings