-- DBMS: snowflake
create or replace TABLE INPUTS (
	"transaction_hash" VARCHAR(16777216),
	"block_hash" VARCHAR(16777216),
	"block_number" NUMBER(38,0),
	"block_timestamp" NUMBER(38,0),
	"index" NUMBER(38,0),
	"spent_transaction_hash" VARCHAR(16777216),
	"spent_output_index" NUMBER(38,0),
	"script_asm" VARCHAR(16777216),
	"script_hex" VARCHAR(16777216),
	"sequence" NUMBER(38,0),
	"required_signatures" NUMBER(38,0),
	"type" VARCHAR(16777216),
	"addresses" VARIANT,
	"value" NUMBER(38,9)
);

INSERT INTO "CRYPTO"."CRYPTO_BITCOIN_CASH"."INPUTS" (value, block_number, type, sequence, addresses, transaction_hash, block_timestamp, script_asm, spent_transaction_hash, spent_output_index, required_signatures, block_hash, script_hex, index) VALUES ('1957308.000000000', 784607, 'scripthash', 4294967295, '[
  "bitcoincash:pzh922lrxs2mzwe50dx6nt623hcnqqugdsx6v2esml"
]', '7b4edf428b218b71143f0c3cf1479a2481785e80db76d18d166fd2b117cf6a8f', 1679241843000000, '1 1 119', '5939eab7fd0e0629dd4c6388a2d10cd2d697ee7a3bc82aa04c3d1d128e5861cd', 0, 1, '0000000000000000049b9290b0f09222727fe44c9b7cbeb9f44fcbf2fa51eb4b', '51510177', 0), ('13689300.000000000', 371617, 'pubkeyhash', 4294967295, '[
  "bitcoincash:qz6c6cga9j0hfx0r3fdsj0mdq55yklrn6v8k34kyl4"
]', 'dee0cd3d4b11fa89d5d4a05ab1095db6727736ae1dd554f78eb28399104c9748', 1440602603000000, '304402204dda90db42609ecda0e1859a1478f1f0d014bba3babb060e969c7c75afb10b9802204c1a5ef3964adc10467aca458d52111f6dfe365030d20da3b5d35331676033e9[ALL] 03ba414c7699fe72dabcd990db63b26fa0d88f240ce96425089e457de10a43db22', 'd0e069c1767cc4956428ff66eaeca35c810f8e9b73dc6990fa4d9df70b00c4c2', 0, 1, '0000000000000000002b18fe332a18545662ac7a69f6400c041a2e67d893abe4', '47304402204dda90db42609ecda0e1859a1478f1f0d014bba3babb060e969c7c75afb10b9802204c1a5ef3964adc10467aca458d52111f6dfe365030d20da3b5d35331676033e9012103ba414c7699fe72dabcd990db63b26fa0d88f240ce96425089e457de10a43db22', 0), ('1399226.000000000', 546256, 'pubkeyhash', 4294967295, '[
  "bitcoincash:qr4kjpuwzdxhcshkrgc6saqg9jj40dn2ssv7u6cv7n"
]', 'cb161add9ddce08aff3888568bca5f38203159c980adf46ebe3fa86d8e856e05', 1535974586000000, '3045022100ce35c4d7b031cae612895874f3bce8b4dedb8281fd19c0b90f05c988e2dc66510220329af556ac0445f31cba6a3b736bc3cf93e72c92209419876ddf4b3ea362d115[ALL|FORKID] 02d3f73cec08a5f4c4be9ee584e382ba5ad4649fc96ec59bbce8678403aa55c6d5', 'ce074f26621c105c0a0ee136b523f9f921c0fe5e86b8bec619af847ad0856087', 1879, 1, '000000000000000001a910c7453b93331e5cc5ba73740a6f1f3d7e5bab2b8d20', '483045022100ce35c4d7b031cae612895874f3bce8b4dedb8281fd19c0b90f05c988e2dc66510220329af556ac0445f31cba6a3b736bc3cf93e72c92209419876ddf4b3ea362d115412102d3f73cec08a5f4c4be9ee584e382ba5ad4649fc96ec59bbce8678403aa55c6d5', 0), ('2856.000000000', 546425, 'pubkeyhash', 4294967295, '[
  "bitcoincash:qr8jg0cvr0nzhtj6edxcd8uh2ses0jdlaqrpscdjat"
]', 'f7d695c956fe52d869a06dd1ebc91ae6374c0d32003fef2b67b28fdeab142138', 1536081903000000, '3045022100db4c9c801763c37051272073c1ef9911c5eba9a798dc49ec8991e269a35a17ab02203ed74b0139f5c3107b0d021165aafdc58145adb51063bfc54bee4e5602e535d1[ALL|FORKID] 03e8cc03ffe1f012389344c06765aaee3392c900468ecf3d2f406aa2d78df4531c', '544b33a7584a4aabc8c9254a489e779e5ffa1760f6b43efab707a45ab95ccfc0', 0, 1, '000000000000000000b063939b0b1000d20aafeee6e26b7d5674584fdbb554f1', '483045022100db4c9c801763c37051272073c1ef9911c5eba9a798dc49ec8991e269a35a17ab02203ed74b0139f5c3107b0d021165aafdc58145adb51063bfc54bee4e5602e535d1412103e8cc03ffe1f012389344c06765aaee3392c900468ecf3d2f406aa2d78df4531c', 0), ('6006.000000000', 546015, 'pubkeyhash', 4294967295, '[
  "bitcoincash:qqgd5lxg8azugud4c32w8dty7q35nzwsag9aj7g50n"
]', '28a3ab9adb65c37adf3c9b325915300880b386ec412e93cb2c56a02ea17a9714', 1535829579000000, '3044022009096e63ee173484b55bdc2d56d8cb658518d802a9a020b8932aba39449298a2022027d0813f8e44b6ca98cf7ae4f895f2c332e5ac7a8d97cf35c016eb950476679f[ALL|FORKID] 0346c099ad2cf8027aaadf6af915d0d726b20c7c12f1791987e5bccdd45411ff3c', '980a701e39d8085a1d229cc3e648f846188738632f3e6bd8fbc11eb0bcbf7d65', 0, 1, '000000000000000000a7f4be7aa2be9026ebc57f818a5d6b68cbb56ea05db0db', '473044022009096e63ee173484b55bdc2d56d8cb658518d802a9a020b8932aba39449298a2022027d0813f8e44b6ca98cf7ae4f895f2c332e5ac7a8d97cf35c016eb950476679f41210346c099ad2cf8027aaadf6af915d0d726b20c7c12f1791987e5bccdd45411ff3c', 0);