-- DBMS: snowflake
create or replace TABLE TRANSACTIONS (
	"block_hash" VARCHAR(16777216),
	"block_timestamp" TIMESTAMP_NTZ(9),
	"transaction_hash" VARCHAR(16777216),
	"transaction_index" NUMBER(38,0),
	"nonce" NUMBER(38,0),
	"from_address" VARCHAR(16777216),
	"to_address" VARCHAR(16777216),
	"value" VARCHAR(16777216),
	"input" VARCHAR(16777216),
	"gas" NUMBER(38,0),
	"gas_price" VARCHAR(16777216),
	"max_fee_per_gas" NUMBER(38,0),
	"max_priority_fee_per_gas" NUMBER(38,0),
	"transaction_type" NUMBER(38,0),
	"access_list" VARCHAR(16777216),
	"r" VARCHAR(16777216),
	"s" VARCHAR(16777216),
	"v" VARCHAR(16777216)
);

INSERT INTO "GOOG_BLOCKCHAIN"."GOOG_BLOCKCHAIN_POLYGON_MAINNET_US"."TRANSACTIONS" (from_address, value, transaction_hash, v, nonce, block_timestamp, max_priority_fee_per_gas, input, s, transaction_index, max_fee_per_gas, r, to_address, transaction_type, access_list, block_hash, gas, gas_price) VALUES ('0x361c775af56677ba879fbb8cd9ba361a81dca287', '{"bignumeric_value":0,"string_value":"0"}', '0x670db3893aafb0ef44f4643d509bc809eeb479adc7041b0dbc704b85ee433e3e', '{"string_value":"310"}', 284329, '2021-05-08 09:38:17', NULL, '0xf629ae1b00000000000000000000000000000000000000000000000029a2241af62c000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000000000040000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f6190000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000009c78ee466d6cb57a4d01fd887d2b5dfb2d46288f0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619', '{"string_value":"19714538794560925234467051082556998209943348909279019106323166928325139919848"}', 10, NULL, '{"string_value":"113614244894982166434606553040480739002600515050307992762549032343181549532930"}', '0x5829a9656e3eb843037d27969bb73eeaa1f99147', 0, '[]', '0xd2d8e5daa94e5c707f2ba058c41b4404467d501f926f2b1bdc07f8f1d91bfb3c', 1000000, '{"bignumeric_value":1518400000,"string_value":"1518400000"}'), ('0x361c775af56677ba879fbb8cd9ba361a81dca287', '{"bignumeric_value":0,"string_value":"0"}', '0x2fe98fe0e6309424ea565345ad483143fd585de553ddc79e9ab5da9c647fae0b', '{"string_value":"310"}', 288266, '2021-05-08 10:02:59', NULL, '0xf629ae1b00000000000000000000000000000000000000000000000029a2241af62c000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000000000040000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f6190000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000009c78ee466d6cb57a4d01fd887d2b5dfb2d46288f0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619', '{"string_value":"18567657662839352122499173043686396029796614458724142735867332357170116100386"}', 64, NULL, '{"string_value":"43194894663990603849223000976406140760792949719230115998720685832219216545388"}', '0x5829a9656e3eb843037d27969bb73eeaa1f99147', 0, '[]', '0x6e1c07407995496e3483dc332b57068c6710b52773012a35e06d8475af5d39ac', 1000000, '{"bignumeric_value":1050000000,"string_value":"1050000000"}'), ('0x361c775af56677ba879fbb8cd9ba361a81dca287', '{"bignumeric_value":0,"string_value":"0"}', '0xbacd4e0a11bb4b116ff7d2fd588c5c1716f6b6cd59f6f1d01d62e930e8c2fc6f', '{"string_value":"310"}', 276885, '2021-05-08 08:51:29', NULL, '0xf629ae1b00000000000000000000000000000000000000000000000029a2241af62c000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000000000040000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f6190000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000009c78ee466d6cb57a4d01fd887d2b5dfb2d46288f0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619', '{"string_value":"24338946203442770572550003991323869011220949389258023270926717700286389537182"}', 7, NULL, '{"string_value":"107414065453284257362323956688327411035993922257054200928547128404739865328090"}', '0x5829a9656e3eb843037d27969bb73eeaa1f99147', 0, '[]', '0x443e9508a11450b1089d0a122d9a179279fd2b2579720bb512e7d343721563fc', 1000000, '{"bignumeric_value":1518400000,"string_value":"1518400000"}'), ('0x361c775af56677ba879fbb8cd9ba361a81dca287', '{"bignumeric_value":0,"string_value":"0"}', '0x252e1ba32623c33f894c98c739fe8590d1bd0578adc5a86a404aa0ec90df94db', '{"string_value":"310"}', 279814, '2021-05-08 09:11:09', NULL, '0xf629ae1b00000000000000000000000000000000000000000000000029a2241af62c000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000000000040000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f6190000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000009c78ee466d6cb57a4d01fd887d2b5dfb2d46288f0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619', '{"string_value":"47248318641315871304022849302031196259004939868571867725869638159119646460628"}', 53, NULL, '{"string_value":"57027350800455637872556824142844570288496176474884079928178975879890098204508"}', '0x5829a9656e3eb843037d27969bb73eeaa1f99147', 0, '[]', '0xdee4f8d4f3d8bc5ed9023944e4879998e5befd24ed0d388126a634d6d6cb83a6', 1000000, '{"bignumeric_value":1518400000,"string_value":"1518400000"}'), ('0x361c775af56677ba879fbb8cd9ba361a81dca287', '{"bignumeric_value":0,"string_value":"0"}', '0xcd7090ae2fcbc2f378784a42f46ff602ee94b624d5824629dc5201a2b7a72a99', '{"string_value":"310"}', 292842, '2021-05-08 10:33:57', NULL, '0xf629ae1b00000000000000000000000000000000000000000000000029a2241af62c000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000000000040000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f6190000000000000000000000009c78ee466d6cb57a4d01fd887d2b5dfb2d46288f0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619', '{"string_value":"21235682154670116216367853737517495919359849258789259441115483098546625340512"}', 52, NULL, '{"string_value":"79883557546786955678980905764546452763991654985198286249046610543980989309297"}', '0x5829a9656e3eb843037d27969bb73eeaa1f99147', 0, '[]', '0xaab2ea83e732134db5e3c02b0c26bd13f9824ddeaff7170956bd5352da3f3ac8', 1000000, '{"bignumeric_value":1050000000,"string_value":"1050000000"}');