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_gettransaction [2018/02/28 18:07]
stevebrush
walletd_gettransaction [2019/01/10 23:47] (current)
Line 26: Line 26:
     * address - string     * address - string
     * amount - int64     * amount - int64
 +
 +Input example:
 +
 +<code json>
 +{  ​
 +  '​params':​{  ​
 +     '​transactionHash':'​92423b0857d36bd172b3f2effbd47ea477bfe0618a50c29d475542c6d5d1b835'​
 +  },
 +  '​jsonrpc':'​2.0',​
 +  '​id':'​test',​
 +  '​method':'​getTransaction'​
 +}
 +</​code>​
 +
 +Output example:
 +
 +<code json>
 +{  ​
 +  '​jsonrpc':'​2.0',​
 +  '​id':'​test',​
 +  '​result':​{  ​
 +     '​transaction':​{  ​
 +        '​fee':​1000000,​
 +        '​extra':'​0130b4472974f2deb9fae7d8fd6602b26396379f3fa05cca2430e10e9e60179f42',​
 +        '​timestamp':​0,​
 +        '​blockIndex':​4294967295,​
 +        '​state':​0,​
 +        '​transactionHash':'​92423b0857d36bd172b3f2effbd47ea477bfe0618a50c29d475542c6d5d1b835',​
 +        '​amount':​-1703701,​
 +        '​unlockTime':​0,​
 +        '​transfers':​[  ​
 +           ​{  ​
 +              '​amount':​123456,​
 +              '​type':​0,​
 +              '​address':'​25AqTidmdu1awhLZPEUkumZEnM8Rt1fNsbpdRwEGNeLpDDfc1WW9RP6QsdENfxafTz4qE8vThbv413nXhs6WAzYeKBtgA98'​
 +           },
 +           ​{  ​
 +              '​amount':​234567,​
 +              '​type':​0,​
 +              '​address':'​278g3wNw5W48DeGbjwxkW3XauBip64uYKS9eFveUHBfdRAG3dYHPZvqXy5BWbfuKEtWZ86PJZdRacAgr1x3gtP5nLyGcVt8'​
 +           },
 +           ​{  ​
 +              '​amount':​345678,​
 +              '​type':​0,​
 +              '​address':'​2AtjUXGmhP6CmbRxCtBESR4MjSGiWCQUTPCdsDpw72Co2pwzZT7rjnaBNRCSFCEygjNo5oe8mHyXU4Eip8szu4ZnAFyPW1a'​
 +           }
 +        ],
 +        '​paymentId':,​
 +        '​isBase':​False
 +     }
 +  }
 +}
 +</​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]]