Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
walletd_sendfusiontransaction [2018/02/28 19:57]
stevebrush
walletd_sendfusiontransaction [2019/01/11 00:47] (current)
Line 14: Line 14:
 |addresses| ​ No  |Array of string((where each string is an address to take the funds from))|array|| |addresses| ​ No  |Array of string((where each string is an address to take the funds from))|array||
 |destinationAddress| ​ No  |An address that the optimized funds will be sent to((Valid and existing in this container address))|string|ir2qzAzr1KfCk2sTsLdEq8BRSRyHnahcKJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs| |destinationAddress| ​ No  |An address that the optimized funds will be sent to((Valid and existing in this container address))|string|ir2qzAzr1KfCk2sTsLdEq8BRSRyHnahcKJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs|
 +
 +**Note:** if container contains only 1 address, destinationAddress field can be left empty and the funds are going to be sent to this address.
 +
 +**Note:** if addresses field contains only 1 address, destinationAddress can be left empty and the funds are going to be sent to this address.
 +
 +**Note:** in the rest of the cases, destinationAddress field is mandatory and must contain an address.
 +
 +Output:
 +
 +^Argument^Description^Format^Example^
 +|transactionHash|Hash of the sent transaction.|string|93faedc8b8a80a084a02dfeffd163934746c2163f23a1b6022b32423ec9ae08f|
 +
 +Input Example:
 +
 +<code json>
 +{  ​
 +  '​params':​{  ​
 +     '​anonymity':​6,​
 +     '​threshold':​1000000,​
 +     '​addresses':​[  ​
 +        '​27eJo2S9eVo5N2G9zyjkqNBZPR6d2qvVD122vQMGAhcrjZjLu8nsMqk3c4KQ9iMJ4AV4fpBMccmjfJ4cu7uprKLNFX4qWNh',​
 +        '​24JtjYsLdSJKNNDCPGdMco5NbMBLqVWZ5ZiW5vzjXQUrLpMs1MRnfTQ3c4KQ9iMJ4AV4fpBMccmjfJ4cu7uprKLNFXHARwn',​
 +        '​21fYPCpaM3ochSSyLnhDAhgw1yV5WPb5c1BfyX5eidbMGyEPgnbSgJW3c4KQ9iMJ4AV4fpBMccmjfJ4cu7uprKLNFX8VQMv'​
 +     ],
 +     '​destinationAddress':'​27eJo2S9eVo5N2G9zyjkqNBZPR6d2qvVD122vQMGAhcrjZjLu8nsMqk3c4KQ9iMJ4AV4fpBMccmjfJ4cu7uprKLNFX4qWNh'​
 +  },
 +  '​jsonrpc':'​2.0',​
 +  '​id':'​test',​
 +  '​method':'​sendFusionTransaction'​
 +}
 +</​code>​
 +
 +Return value example:
 +
 +<code json>
 +{  ​
 +  '​jsonrpc':'​2.0',​
 +  '​id':'​test',​
 +  '​result':​{  ​
 +     '​transactionHash':'​93faedc8b8a80a084a02dfeffd163934746c2163f23a1b6022b32423ec9ae08f'​
 +  }
 +}
 +</​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]]