iridium_walletd getUnconfirmedTransactionHashes method

The getUnconfirmedTransactionHashes method returns information about the current unconfirmed transaction pool or for a specified addresses.

back to methods summary

Input:

ArgumentMandatoryDescriptionFormat
addresses No Array of strings, where each string is a valid addressarray

Note: if addresses parameter is set, getUnconfirmedTransactionHashes method returns transactions that contain transfer from at least one of specified addresses.

Output:

ArgumentDescriptionFormat
transactionHashesArray of strings, where each string is a hash of an unconfirmed transactionarray

Input example:

{  
  'params':{  
     'addresses':[  
        'ir2qzAzr1KfCk2sTsLdEq8BRSRyHnahcKJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs',
        'ir4qzzr1KgCk3sSsLdEq9AFCVyHnahckJrPRZg8rHtkRCRYTVJiiyJz8vNjwoB6Y4OSbPNuNusEgMLc2A4KoJrOr2dH4rbm7s',
        'ir3qzAzr1KgCk2sTsLdEq8BRSRyHnahckJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs'
     ]
  },
  'jsonrpc':'2.0',
  'id':'test',
  'method':'getUnconfirmedTransactionHashes'
}

Output example:

{  
  'jsonrpc':'2.0',
  'id':'test',
  'result':{  
     'transactionHashes':[  
        ...,
        ...,
        ...
     ]
  }
}

back to methods summary