getimports - Spacecoin RPC Docs


getimports "hash|height"



Result:
{
  "imports" : [                  (json array)
       "transactionid" : {       (json object)
           "value" :             (numeric)
           "address" :           (string)
           "export" {                (json object)
               "txid" :              (string)
               "value" :             (numeric)
               "chain" :             (string)
           }
       }  ]
  "TotalImported" :              (numeric)
  "time" :                       (numeric)
}

Examples:
> spacecoin-cli getimports "00000000febc373a1da2bd9f887b105ad79ddc26ac26c2b28652d64e5207c5b5"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getimports", "params": ["00000000febc373a1da2bd9f887b105ad79ddc26ac26c2b28652d64e5207c5b5"] }' -H 'content-type: text/plain;' http://127.0.0.1:35593/
> spacecoin-cli getimports 12800
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getimports", "params": [12800] }' -H 'content-type: text/plain;' http://127.0.0.1:35593/


Learn more about spacecoin at spacecoin.network.
Docs generated by spacecoin v0.6.1.
Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.

Spacecoin Logo



Auction











Lotto