Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
walletd_getunconfirmedtransactionhashes [2018/02/27 13:38]
stevebrush created
walletd_getunconfirmedtransactionhashes [2019/01/10 23:47] (current)
Line 1: Line 1:
 ==== iridium_walletd getUnconfirmedTransactionHashes method ==== ==== iridium_walletd getUnconfirmedTransactionHashes method ====
 +
 +The getUnconfirmedTransactionHashes method returns information about the current unconfirmed transaction pool or for a specified addresses.
  
 [[iridium_walletd_rpc_call#​Iridium RPC Wallet API methods summary|back to methods summary]] [[iridium_walletd_rpc_call#​Iridium RPC Wallet API methods summary|back to methods summary]]
  
 +Input:
 +
 +^Argument^Mandatory^Description^Format^
 +|addresses| ​ No  |Array of strings, where each string is a valid address|array|
 +
 +**Note:** if addresses parameter is set, getUnconfirmedTransactionHashes method returns transactions that contain transfer from at least one of specified addresses.
 +
 +Output:
 +
 +^Argument^Description^Format^
 +|transactionHashes|Array of strings, where each string is a hash of an unconfirmed transaction|array|
 +
 +Input example:
 +
 +<code json>
 +{  ​
 +  '​params':​{  ​
 +     '​addresses':​[  ​
 +        '​ir2qzAzr1KfCk2sTsLdEq8BRSRyHnahcKJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs',​
 +        '​ir4qzzr1KgCk3sSsLdEq9AFCVyHnahckJrPRZg8rHtkRCRYTVJiiyJz8vNjwoB6Y4OSbPNuNusEgMLc2A4KoJrOr2dH4rbm7s',​
 +        '​ir3qzAzr1KgCk2sTsLdEq8BRSRyHnahckJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs'​
 +     ]
 +  },
 +  '​jsonrpc':'​2.0',​
 +  '​id':'​test',​
 +  '​method':'​getUnconfirmedTransactionHashes'​
 +}
 +</​code>​
 +
 +Output example:
 +
 +<code json>
 +{  ​
 +  '​jsonrpc':'​2.0',​
 +  '​id':'​test',​
 +  '​result':​{  ​
 +     '​transactionHashes':​[  ​
 +        ...,
 +        ...,
 +        ...
 +     ]
 +  }
 +}
 +</​code>​
  
 [[iridium_walletd_rpc_call#​Iridium RPC Wallet API methods summary|back to methods summary]] [[iridium_walletd_rpc_call#​Iridium RPC Wallet API methods summary|back to methods summary]]