Cdv rpc coinrecords --by puzhash

From mojo_puzzler
Jump to navigation Jump to search
Return to: Chialisp

Example 1:

cdv rpc coinrecords --by puzhash 36b2ecf8590cb1683eacf1c9e40b7cb98c9fdfb2ad8af118392a1b9359f23d95 -nd

 {
    "6af8fe5233c4e8e82434d13cc6f55eda77cc0588e99322aba7a04bd31da53f37": {
        "coin": {
            "amount": 1,
            "parent_coin_info": "0x17850c7bf14b11512809c9770319484979537aa164b91f2f3d07bfb90d2ae851",
            "puzzle_hash": "0x36b2ecf8590cb1683eacf1c9e40b7cb98c9fdfb2ad8af118392a1b9359f23d95"
        },
        "coinbase": false,
        "confirmed_block_index": 1031272,
        "spent": true,
        "spent_block_index": 1031315,
        "timestamp": 1634864440
    },
    "95d4042f4038c98f376fa60b3386a1a6fe4f294c5fc441079ef589a688d5b9c7": {
        "coin": {
            "amount": 1,
            "parent_coin_info": "0xe1d1ec91d086c26ef4c6a0cf21dd8b3605039b70b6fe6943a3f71731e23abb19",
            "puzzle_hash": "0x36b2ecf8590cb1683eacf1c9e40b7cb98c9fdfb2ad8af118392a1b9359f23d95"
        },
        "coinbase": false,
        "confirmed_block_index": 1031208,
        "spent": true,
        "spent_block_index": 1031280,
        "timestamp": 1634863645
    }
 }

Example 2:

cdv rpc coinrecords --by puzhash 0x3ee61c1d32f9237348562eaa9e0141162c745fa0de9c670960e757b22bdc3843

 [{'coin': {'amount': 100000,'parent_coin_info': '0xe663cf9aadc436876a24142dae56da7a8ba7d2591e2d91971fbfb873e10499a3','puzzle_hash': '0x3ee61c1d32f9237348562eaa9e0141162c745fa0de9c670960e757b22bdc3843'},
  'coinbase': False,
  'confirmed_block_index': 673467,
  'spent': False,
  'spent_block_index': 0,
  'timestamp': 1628182011},
 {'coin': {'amount': 100,
           'parent_coin_info': '0x0e4d0c255bad00f01ac66e78bc6c396d5597f59cff48aeea0a78271f9a26291a',
           'puzzle_hash': '0x3ee61c1d32f9237348562eaa9e0141162c745fa0de9c670960e757b22bdc3843'},
  'coinbase': False,
  'confirmed_block_index': 672165,
  'spent': False,
  'spent_block_index': 0,
  'timestamp': 1628157335},
 {'coin': {'amount': 1000000,
           'parent_coin_info': '0x016e0ccd445374607a0a347dd3adab7de6be25afd4ee366308af5b2492bd3c74',
           'puzzle_hash': '0x3ee61c1d32f9237348562eaa9e0141162c745fa0de9c670960e757b22bdc3843'},
  'coinbase': False,
  'confirmed_block_index': 672212,
  'spent': False,
  'spent_block_index': 0,
  'timestamp': 1628158278},
 {'coin': {'amount': 200,
           'parent_coin_info': '0x869d13cbdc1fc48f45f78d4e57f317a0b0ab7107760dda4b9307107da03eb687',
           'puzzle_hash': '0x3ee61c1d32f9237348562eaa9e0141162c745fa0de9c670960e757b22bdc3843'},
  'coinbase': False,
  'confirmed_block_index': 672161,
  'spent': False,
  'spent_block_index': 0,
  'timestamp': 1628157295},
 {'coin': {'amount': 100,
           'parent_coin_info': '0x54b1d3f8bbe8d3d6da8649f87c179d581e261d88c86d08c01f8025ca44b1b599',
           'puzzle_hash': '0x3ee61c1d32f9237348562eaa9e0141162c745fa0de9c670960e757b22bdc3843'},
  'coinbase': False,
  'confirmed_block_index': 672151,
  'spent': False,
  'spent_block_index': 0,
  'timestamp': 1628157093}]