Skip to content
WhoSoup edited this page Oct 29, 2019 · 19 revisions

pegnetd Daemon RPC Documentation

This document defines the Remote Procedure Call API for pegnetd. The RPC encompasses methods to read balances, transactions, and conversions on pegnet.

The API will follow JSON-RPC 2.0 Specification.

API Version

This standard covers RPC API version v1. The pegnetd is used for reading the pegnet chain. If you wish to write conversions/transactions, all factom entries follow this format: https://hackmd.io/EfSzduXqQ8yyD9vBYK3E-w?view.

All transaction format validation can be found in this directory: https://github.com/pegnet/pegnetd/tree/master/fat/fat2. If you wish to build transactions using the library, you can use the cli as a guide.

Methods


get-sync-status :

Return the current heights synced by pegnetd and the factomd it is communicating with.

Request:

curl -X POST --data-binary \
'{"jsonrpc": "2.0", "id": 0, "method":"get-sync-status"}' \
-H 'content-type:text/plain;' http://localhost:8070/v1

Response:

{  
   "jsonrpc":"2.0",
   "result":{  
      "syncheight":214301,
      "factomheight":214301
   },
   "id":0
}

get-transaction:

Returns if a given entry hash is a pegnet transaction, and if so returns the transaction. Because pegnet is intended to integrate with FAT, the param chainid is required, and is always cffce0f409ebba4ed236d49d89c70e4bd1f1367d86402a3363366683265a242d for all pegnet transactions and conversions.

Request:

curl -X POST --data-binary \
'{"jsonrpc": "2.0", "id": 0, "method":"get-transaction",
"params":{"chainid":"cffce0f409ebba4ed236d49d89c70e4bd1f1367d86402a3363366683265a242d","entryhash":"9254475b3a05bd275b7fdcd161dae45be4973b700a7bf0e53073a57bbcae36df"}}' \
-H 'content-type:text/plain;' http://localhost:8070/v1

Response:

{
  "jsonrpc": "2.0",
  "result": {
    "entryhash": "9254475b3a05bd275b7fdcd161dae45be4973b700a7bf0e53073a57bbcae36df",
    "timestamp": 0,
    "data": {
      "version": 1,
      "transactions": [
        {
          "input": {
            "address": "FA2qLL7t8Te5ay5oUcjLQJhakPUnKe5rNFaCTssmaLjPz1gPwUKz",
            "amount": 361235032,
            "type": "pBRL"
          },
          "conversion": "pXBC",
          "metadata": null
        }
      ]
    }
  },
  "id": 0
}

get-pegnet-issuance :

Get the total supply for each pegnet asset.

Request:

curl -X POST --data-binary \
'{"jsonrpc": "2.0", "id": 0, "method":"get-pegnet-issuance"}' \
-H 'content-type:text/plain;' http://localhost:8070/v1

Response:

{  
   "jsonrpc":"2.0",
   "result":{  
      "syncstatus":{  
         "syncheight":214299,
         "factomheight":214299
      },
      "issuance":{  
         "PEG":5064716249706472,
         "pADA":9174741510,
         "pBNB":23964155,
         "pBRL":1915004591,
         "pCAD":505757599,
         "pCHF":2031773352,
         "pCNY":2716169709,
         "pDASH":5317841,
         "pDCR":21694146,
         "pETH":1838430641,
         "pEUR":427187617,
         "pFCT":3846027468077,
         "pGBP":308496745,
         "pHKD":2980001159,
         "pINR":26981732013,
         "pJPY":40694137315,
         "pKRW":454720374337,
         "pLTC":6640888,
         "pMXN":7428080364,
         "pPHP":19717349003,
         "pRVN":14391145402388,
         "pSGD":524774284,
         "pUSD":368327645950,
         "pXAG":10029803207,
         "pXAU":144804349,
         "pXBC":1623103,
         "pXBT":42136027,
         "pXLM":6158039443,
         "pXMR":6690407,
         "pZEC":10101202
      }
   },
   "id":0
}

get-pegnet-balances :

Get the pegnet asset balances for a given address. All balances are in their fixed point values, meaning a balance of 1e8 == 1 pAsset. In this example response, the address has 9401 PEG.

Request:

curl -X POST --data-binary \
'{"jsonrpc": "2.0", "id": 0, "method":"get-pegnet-balances",
"params":{"address":"FA28MV2VvvsdjjgXoHwsadtMWqM5mt7bZU3hMjLuDLLN1DBhK48g"}}' \
-H 'content-type:text/plain;' http://localhost:8070/v1

Response:

{
   "jsonrpc":"2.0",
   "result":{
      "PEG":940100000000,
      "pADA":0,
      "pBNB":0,
      "pBRL":0,
      "pCAD":0,
      "pCHF":0,
      "pCNY":0,
      "pDASH":0,
      "pDCR":0,
      "pETH":0,
      "pEUR":0,
      "pFCT":0,
      "pGBP":0,
      "pHKD":0,
      "pINR":0,
      "pJPY":0,
      "pKRW":0,
      "pLTC":0,
      "pMXN":0,
      "pPHP":0,
      "pRVN":0,
      "pSGD":0,
      "pUSD":0,
      "pXAG":0,
      "pXAU":0,
      "pXBC":0,
      "pXBT":0,
      "pXLM":0,
      "pXMR":0,
      "pZEC":0
   },
   "id":0
}

get-pegnet-rates:

Returns the pegnet conversion rates for a given block height.

Request:

curl -X POST --data-binary \
'{"jsonrpc": "2.0", "id": 0, "method":"get-pegnet-rates",
"params":{"height":213000}}' \
-H 'content-type:text/plain;' http://localhost:8070/v1

Response:

{
  "jsonrpc": "2.0",
  "result": {
    "PEG": 0,
    "pADA": 3974089,
    "pBNB": 1567649568,
    "pBRL": 24646300,
    "pCAD": 75119063,
    "pCHF": 100467172,
    "pCNY": 13989136,
    "pDASH": 6946832822,
    "pDCR": 1668878643,
    "pETH": 17633014348,
    "pEUR": 109799615,
    "pFCT": 362154294,
    "pGBP": 123334369,
    "pHKD": 12755583,
    "pINR": 1411920,
    "pJPY": 935059,
    "pKRW": 83871,
    "pLTC": 5736385888,
    "pMXN": 5124197,
    "pPHP": 1935040,
    "pRVN": 3086664,
    "pSGD": 72519997,
    "pUSD": 100000000,
    "pXAG": 1753985933,
    "pXAU": 150375939849,
    "pXBC": 22310754166,
    "pXBT": 812762606639,
    "pXLM": 5913512,
    "pXMR": 5669451886,
    "pZEC": 3700509005
  },
  "id": 0
}

get-transaction-status:

Returns the status of a transaction. The parameter entryhash can be either a winning OPR entry hash, a transaction chain entry hash, or an FCT Burn transaction id. An unknown hash will result in an -32803 error. A known hash response contains two fields:

  • height: this is the directory block height that the transaction was submitted
  • executed: this is the status indicator
    • -1 means the transaction was rejected due to insufficient balance
    • 0 means the transaction is currently pending and has not yet been processed
    • N (>= height) means the transaction was successfully applied at block height N.

Request:

curl -X POST --data-binary \
'{"jsonrpc": "2.0", "id": 0, "method":"get-transaction-status",
"params":{"entryhash":"a33d4f334a2658c17d3f44158af75f1c32cc6b2f3de9ddc337064c93043d8db0"}}' \
-H 'content-type:text/plain;' http://localhost:8070/v1

Response:

{"jsonrpc":"2.0","result":{"height":213438,"executed":213438},"id":0}

get-transaction-status:

Returns a set of up to 50 transactions for the given parameters. The only requirement is setting either entryhash, address, or height. All other parameters are optional.

  • entryhash (hex-encoded string): can be either a winning OPR entry hash, a transaction chain entry hash, or an FCT Burn transaction id, e.g.: a33d4f334a2658c17d3f44158af75f1c32cc6b2f3de9ddc337064c93043d8db0. Mutually exclusive with address and height.
  • address (string): transactions involving the address (as sender or recipient), e.g.: FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt. Mutually exclusive with entryhash and height.
  • height (integer): transactions that were submitted at this height, e.g.: 213438
  • offset (integer): Results are paginated and the offset is used to specify the starting point. A paginated result will return the next value of offset as nextoffset. e.g.: 150
  • desc (bool): If set to true, the order of transactions is reversed, retrieving newest transactions first.
  • transfer (bool): If set to true, the list of transactions will include transfers
  • conversion (bool): If set to true, the list of transactions will include conversions
  • coinbase (bool): If set to true, the list of transactions will include miner payouts
  • burn (bool): If set to true, the list of transactions will include fct burns

By default, all four transaction types are included. If one type is set to true, then ONLY that type is returned. You can combine different types, for example set transfer and conversion to true in order retrieve both transfers and conversions.

The results come in the form of up to 50 Transactions with a specific type. Each transaction has a unique (hash, tx_index) tuple but the hash alone is not unique. The data returned is a multi-level json format, with the base being:

  • actions (list): This contains the list of Transactions. For more, see below
  • count (integer): The total number of records for this request, which may be more than 50
  • nextoffset (integer): If this number is greater than zero, it means that not all transactions fit into the next. You can repeat the API request with offset to the value of nextoffset in order to retrieve the next set of transactions.

The list of transactions is an object with the following potential keys:

  • hash (hex encoded bytes): For transfers, conversions, and coinbases, this is the relevant entry hash. For burns, this is the txid.
  • height (integer): The height that the transaction was written to the chain.
  • timestamp (string): The timestamp of when the transaction was written to the chain.
  • executed (integer): Status indicator. -1 means rejected due to insufficient balance, 0 means pending, otherwise it is the height the transaction was applied.
  • txindex (integer): A single entry can contain multiple transactions and this is the index of the transaction inside of an entry. For coinbases and burns, this is always 0.
  • txaction (integer): The type of Transaction:
    • 1: Transfer
    • 2: Conversion
    • 3: Coinbase
    • 4: Burn
  • fromaddress (string): The origin of the funds in the form of an FA... address. For Conversions, Coinbases, and Burns this is also the recipient.
  • fromasset (string): The pAsset that was sent. For Burns this is always "FCT", for Coinbases this is blank.
  • fromamount (integer): The amount was sent in Pegtoshis. For Coinbases, this is blank.
  • toasset (string): The destination pAsset. For Transfers, this is blank.
  • toamount (integer): The amount of pAsset the address was credited with. For pending Conversions, this is 0, otherwise it contains the actual amount. For Transfers, this is 0.
  • outputs (list): For transfers, this is a list that contains the set of outputs. There is at least one output in the list. For all other types, this is blank.

The list of outputs contains objects with an address and an amount field.

Request:

curl -X POST --data-binary \
'{"jsonrpc": "2.0", "id": 0, "method":"get-transactions",
"params":{"address":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt"}}' \
-H 'content-type:text/plain;' http://localhost:8070/v1

Response:

{
   "jsonrpc":"2.0",
   "result":{
      "actions":[
         {
            "hash":"2f07b6254559407b866356f878760d97c2e70721024f910bcf1c9daff256f7af",
            "height":213739,
            "timestamp":"2019-10-10T21:40:00+02:00",
            "executed":213740,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":50000000000,
            "toasset":"pRVN",
            "toamount":4747852584121
         },
         {
            "hash":"9d5cf82eb16310016962c9abc08a619b02258024b00ce7407eb2761b68e97150",
            "height":213470,
            "timestamp":"2019-10-09T00:46:00+02:00",
            "executed":213470,
            "txindex":0,
            "txaction":1,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pXAU",
            "fromamount":100000,
            "outputs":[
               {
                  "address":"FA2QdSsWp4MoZVm8RpcnsJXJVAVDvbno5fAD1Qn67knFRJdxsxJU",
                  "amount":100000
               }
            ]
         },
         {
            "hash":"024648e9e2b696d90f86ee8e474f2eb685194b0c9375dceb7b0170f94e342034",
            "height":213450,
            "timestamp":"2019-10-08T21:30:00+02:00",
            "executed":213450,
            "txindex":0,
            "txaction":1,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pXAU",
            "fromamount":100000,
            "outputs":[
               {
                  "address":"FA2LUHeytM4R2ZPrJjUFLr5e3S44Bs8ze7fYv3Wp5bztuFa8vgoy",
                  "amount":100000
               }
            ]
         },
         {
            "hash":"a33d4f334a2658c17d3f44158af75f1c32cc6b2f3de9ddc337064c93043d8db0",
            "height":213438,
            "timestamp":"2019-10-08T19:25:00+02:00",
            "executed":213438,
            "txindex":0,
            "txaction":1,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pXAU",
            "fromamount":4000000,
            "outputs":[
               {
                  "address":"FA23ncD8Jf4aoYNUaA3muu3cxpmvNHTjYdTFXT2ioFJaH41MWUK7",
                  "amount":100000
               },
               {
                  "address":"FA3nsSjUy5uSkqMEug8t3VcehZn5w2ciSMpgqFEEsMRwMrHoa9k3",
                  "amount":100000
               },
               {
                  "address":"FA3KMPNX8AKdY3tjyKMzZ5cAkqUv97d3QqkJeQnVXk6PXSVgArnr",
                  "amount":100000
               },
               {
                  "address":"FA38cwer93mmPw1HxjScLmK1yF9iJTu5P87T2vdkbuLovm2YXyss",
                  "amount":100000
               },
               {
                  "address":"FA2T71F4dXf9SiP8aVQHwP8U4ua39w5wbnruaSyzd87XGcgNNiFj",
                  "amount":100000
               },
               {
                  "address":"FA2WZX8Qw9SANa8foRZo77zEfZK3qAkKky1TUaRvQYg93HsLvXg7",
                  "amount":100000
               },
               {
                  "address":"FA3NbQSVTHomV11bVo9iLroJcbZ19c4uEhVC6qhTad5i6R6wKfda",
                  "amount":100000
               },
               {
                  "address":"FA2xfw92dBUhBL8TXg7wpke3mSEdvzexqvLqMM9rgt4ZNSYWigLB",
                  "amount":100000
               },
               {
                  "address":"FA37Nz8Hx6zWRmpqNUVkmuBCUkWkX83o4dnFJZL2jbGKuuK1P7DE",
                  "amount":100000
               },
               {
                  "address":"FA2urrkCK5zYUGLyRkeJnLGWWoRHE33AMPkVNApHy92cUGoFte19",
                  "amount":100000
               },
               {
                  "address":"FA39YF6Hm1HJruDzVoWN5ja3WvCkd2yZP37rHD9kFbuVXhTxjLtK",
                  "amount":100000
               },
               {
                  "address":"FA3CeHGKnCY8aTtHMboJxmcgyzCNDsCaWSYG1B7FQknLoJz2tUTJ",
                  "amount":100000
               },
               {
                  "address":"FA2fCvJATw1j2htKRn9DHahMKnaURA4AEwqTbdzaSaRbfxk5cNzB",
                  "amount":100000
               },
               {
                  "address":"FA3ipMNanDkHGtD3QAndBatuFqtcLn8ZPE7mnBLazE58UpZ1mHnf",
                  "amount":100000
               },
               {
                  "address":"FA3BycaFL8yqFwYCPLVgsfoMdHqQj2dxrN2MEraexPa2mKSkMjWK",
                  "amount":100000
               },
               {
                  "address":"FA27RWJcXcr39Bw91jYWXCqWmekSzrbZ1tZSaHsL4Q7ANktx7cNa",
                  "amount":100000
               },
               {
                  "address":"FA2zTuZ6kbxsXRAwavpYg68jc5uiq39H5xQp8jGSSFD76RnPQj6x",
                  "amount":100000
               },
               {
                  "address":"FA3debugfUqPcG9ZbQAkjU8BSSJTGJDC6bAQMBYe3zTB4BktZxko",
                  "amount":100000
               },
               {
                  "address":"FA2M6umvuPwJyJXH4bpHAb4X2WmhYxFcVHBR5izSsjQNz1LFmXeN",
                  "amount":100000
               },
               {
                  "address":"FA3K5aLP8Ah728GGwS8RNBFgYdh9DC29TjgU2jckSpetXYsJZ6vJ",
                  "amount":100000
               },
               {
                  "address":"FA33ZtgjKdviYJSWFfzkH4UCmhNEG9WGPDNhkKQazUUpPdwANwTV",
                  "amount":100000
               },
               {
                  "address":"FA2nkepbeMrfTksZiqguCQVpKPS1wJvyV3n5q16LzcaojfpuirQJ",
                  "amount":100000
               },
               {
                  "address":"FA28ECstsETBc6r6oqhMBUSj2jqFccB8UsmcZyq229Kyt9167Mth",
                  "amount":100000
               },
               {
                  "address":"FA2oecgJW3XWnXzHhQQoULmMeKC97uAgHcPd4kEowTb3csVkbDc9",
                  "amount":100000
               },
               {
                  "address":"FA3PTnet6yGwnCkprszYYfHtwqymqQQWKfFjoRkavxSda15VNtwY",
                  "amount":100000
               },
               {
                  "address":"FA3KXr5JHRVXPBX2BSZ4aeyX1JwLPkXDTPCEP5NxVy9doB5R5wxd",
                  "amount":100000
               },
               {
                  "address":"FA3BA2NWC6EjiGruTfU8TNNHqfYMfKRgV6kEpgTYT2nBFtWY7EVg",
                  "amount":100000
               },
               {
                  "address":"FA3cRbg1CAzBvXpp8v3AfGuxzjePDbwqGr71MvLNanTX2QKDF1Cz",
                  "amount":100000
               },
               {
                  "address":"FA2idXQrygrQQExHw5rhiaeqhpdMmADuLBLQ5gbNszjMQNEyhmDu",
                  "amount":100000
               },
               {
                  "address":"FA2tuzi9ZuTAp5goriUMaUqirELq7wecL77R3XZMhp2cRjqiVHkL",
                  "amount":100000
               },
               {
                  "address":"FA3m2QqdFXuB4Exsq3ZDbCAc5v1LLESKM2zTjp2cx7zFrffLVAqe",
                  "amount":100000
               },
               {
                  "address":"FA2vPvNkxjiGekRajx9La7NrxrtyeDhu4U9Xj5NygLQjxRCKzn3H",
                  "amount":100000
               },
               {
                  "address":"FA3rj2d3Y88R8pWdZQoRLyACNVJeNZnAwiaYVVYBiPGqoUgc6Jwj",
                  "amount":100000
               },
               {
                  "address":"FA26BX8ZCvtAMpYjqhSS7X33rt8ihU7j7k973ZavKAyENFGmkUsE",
                  "amount":100000
               },
               {
                  "address":"FA2SwuRcgQSrctTaJyEzypVcLSqpn4Z5XQULemku8m79SwvdnezS",
                  "amount":100000
               },
               {
                  "address":"FA28MV2VvvsdjjgXoHwsadtMWqM5mt7bZU3hMjLuDLLN1DBhK48g",
                  "amount":100000
               },
               {
                  "address":"FA3iAchdgmiY22qWYx3MKxn6swZN5v87dUEQf81pmwWywdrnZ1qL",
                  "amount":100000
               },
               {
                  "address":"FA38jErLQq4FrsmZ223Le4b76L7WMhMPh41KhLzxSePaxjbSxg7p",
                  "amount":100000
               },
               {
                  "address":"FA3i2cDoa9qF7DUhRZiaMV4tCzPRQd4gbefmXwMu7vVnpCcY9iA7",
                  "amount":100000
               },
               {
                  "address":"FA2pUTNL3oXotUr4S1B8mGHuxpBf2yjr91vY45xNoFJQYAJR31Mv",
                  "amount":100000
               }
            ]
         },
         {
            "hash":"6874e7ad8b88ef3d19a43b376756a06852cd56968a5503b91401e740a2aa935a",
            "height":213361,
            "timestamp":"2019-10-08T06:40:00+02:00",
            "executed":213361,
            "txindex":0,
            "txaction":1,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":10000000,
            "outputs":[
               {
                  "address":"FA22j7XNrk13iNzQPqrrV9LYjfGbwsj7nuENcnf8CRzW3M2458BA",
                  "amount":10000000
               }
            ]
         },
         {
            "hash":"7634264259071df7a65fdea0c46763767a9c935471e87914c365a0c107011c71",
            "height":213290,
            "timestamp":"2019-10-07T18:49:00+02:00",
            "executed":213291,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pXAG",
            "toamount":21842549
         },
         {
            "hash":"2df741498e1d522f5e69f6268d592fbf63e9dd5281f855823425eafd4bfb9c18",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pZEC",
            "toamount":10101202
         },
         {
            "hash":"a225e30f5022a562bf8a269b34ee2af6e1ad8261db98b0f0be13da6e9d2ae26b",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pXBC",
            "toamount":1623103
         },
         {
            "hash":"3bfa2b1297bc332921f4c098b4dc84cc52c4b2ba81d13e6d65ea9e3f5e68d8a4",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pUSD",
            "toamount":379968892
         },
         {
            "hash":"5188775638ba00011d2bffd1b0c96ff1c5ae97975c1727caee0be93f454acb2d",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pMXN",
            "toamount":7428080364
         },
         {
            "hash":"2ee25cd75dcf14dcb02a71985593187bccffb974982463cd9a5c5cbea943335b",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pPHP",
            "toamount":19717349003
         },
         {
            "hash":"5b65dc5bed5e8ec4fe9fe75d6b870b0920696ef635c22d0550b4926132a16a95",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pINR",
            "toamount":26981732013
         },
         {
            "hash":"e03b9c77490600dd8a02d161f983aef1980902430b6e8671a25c35bb521be807",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pXAU",
            "toamount":253819
         },
         {
            "hash":"329c449f380eb4ebfd9f076d5d4d7ebd705cbbaff6d09860e576fd039c928d43",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pXLM",
            "toamount":6158039443
         },
         {
            "hash":"46a7c11f98371032cd460bd9a28cc1354a9121350006406131830d0b44248905",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pXMR",
            "toamount":6690407
         },
         {
            "hash":"6602cd31480df0f310d012554e19f45030fd991edbe3d93e9a176bbf9ff7239d",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pXBT",
            "toamount":46255
         },
         {
            "hash":"9484378a991ea1f9106e6610143c249fd76d2f189fc2f4888464dc850eaab2a6",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pRVN",
            "toamount":11888226875
         },
         {
            "hash":"5a74ea09546a09d2a47cacf937c1b9b99cd9b5ab58b998949251d404f64b2e96",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pSGD",
            "toamount":524774284
         },
         {
            "hash":"4f2d246b800f7cc0aa45f1075e6eb70de91a65f4dde3d77931a1297506c80dc0",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pJPY",
            "toamount":40694137315
         },
         {
            "hash":"9346ff99961fd3c50f4de4cded504ec1d8fa9f0deb225a1d535d1dd27241dda2",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pLTC",
            "toamount":6640888
         },
         {
            "hash":"6e43a1f75db1e1b9c29c0244df14a8ba0b1d65449843676611d9a30912c85d18",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pEUR",
            "toamount":346008415
         },
         {
            "hash":"231b8f23f74a9870530fbab89386b492d09e4d80ed7a17976ce2a023d5950a07",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pBRL",
            "toamount":1553769559
         },
         {
            "hash":"616b67d5512c2cb01ce365b01db001cbb32e53fdf8c8896bb2947f1a0b0e8c85",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pBNB",
            "toamount":23964155
         },
         {
            "hash":"9def0679efde7c4a713cce0849a8dcba5c39d4f59f69cf866d5104e8a4e615c6",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pGBP",
            "toamount":308496745
         },
         {
            "hash":"02dc56c3b58a33f77f2fcc79727ad4370f199e9a3c1f30ca53595ba6330a5270",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pHKD",
            "toamount":2980001159
         },
         {
            "hash":"2a8526e08b47c548d715ec2aebd30fe8d7c52325864d8ab02a7cb3dc88c1c17a",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pCNY",
            "toamount":2716169709
         },
         {
            "hash":"b6c0a2a02c37be1407f494e1ca7fdb16b1ad945cda2da944e31c3dd78792834d",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pETH",
            "toamount":2129855
         },
         {
            "hash":"ac34a43bfaa9e9c4c15a7b3ffab7a5990f6bdea678865d63c65a2170c58dcf1a",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pKRW",
            "toamount":454720374337
         },
         {
            "hash":"1ecbbd588a4870ecbecc60b34f3188bb8858768c3d1bc0a085112f7d633e0206",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pDCR",
            "toamount":21694146
         },
         {
            "hash":"196cd551e944bfd4500a040cf1d6ae254395f4a154d29c56242c4c5ba4469841",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pCHF",
            "toamount":378030672
         },
         {
            "hash":"4217fbeef516d2173dae1d38a035a19bb8adf21d82bc7cbdcdf2c71ae63bc821",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pDASH",
            "toamount":5317841
         },
         {
            "hash":"2259543cc6a92651027123e25e84d3e142616ec47e8b969cb5f6e395550c8d6a",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pCAD",
            "toamount":505757599
         },
         {
            "hash":"db8cb9876502537216f1c0beb085bd3ad7610675b56ae915c9e55f03b37fad05",
            "height":213287,
            "timestamp":"2019-10-07T18:15:00+02:00",
            "executed":213288,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":100000000,
            "toasset":"pADA",
            "toamount":9174741510
         },
         {
            "hash":"e7582ea2a5e51e6f43aa9473099032844e10faa94b1828fbac758e37a1a517e3",
            "height":213266,
            "timestamp":"2019-10-07T14:46:00+02:00",
            "executed":213267,
            "txindex":0,
            "txaction":2,
            "fromaddress":"FA3pPBWaVjZXhiFiUBdpvyjK84cvjWcZvZqoxeAEsH3rFCtEvEVt",
            "fromasset":"pFCT",
            "fromamount":10000000000,
            "toasset":"pXAU",
            "toamount":24964318
         }
      ],
      "count":34,
      "nextoffset":0
   },
   "id":0
}