iridium_walletd getSpendKeys method

The getSpendKeys method returns your spend keys.

back to methods summary

Input :

ArgumentMandatoryDescriptionFormatExample
address Yes Valid and existing address in container string ir2qzAzr1KfCk2sTsLdEq8BRSRyHnahcKJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs

Output :

ArgumentDescriptionFormatExample
spendSecretKey Private spend key string 4a2583e42d010e8aabfed22743789569714196246bf01b5f2fec35af9232d907
spendPublicKey Public spend key string 4a2583e42d010e8aabfed22743789569714196246bf01b5f2fec35af9232d907

Input Example:

{  
  'params':{  
     'address':'ir2qzAzr1KfCk2sTsLdEq8BRSRyHnahcKJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs'
  },
  'jsonrpc':'2.0',
  'id':'test',
  'method':'getSpendKeys'
}

Return example:

{  
  'jsonrpc':'2.0',
  'id':'test',
  'result':{  
     'spendSecretKey':'4a2583e42d010e8aabfed22743789569714196246bf01b5f2fec35af9232d907'
     'spendPublicKey':'4a2583e42d010e8aabfed22743789569714196246bf01b5f2fec35af9232d907'
  }
}

back to methods summary