Import Private Key
importprivkey "glitchprivkey" ( "label" ) ( rescan )
Used to import private key in your wallet, it will rescan blockchain for transaction details and return "null" if successful.
To imports funds without rescan blockchain. Its needed wallet must be included address or script before use this command.
Import Public Key
importpubkey "pubkey" ( "label" rescan )
This is same command as importaddress, but we use 66 hex character public key address as input here. On success it will return “null”.