Skip to main content

Tables

PikaPerp_AddMargin_event

Margin addition events emitted when traders increase collateral on existing perpetual futures positions in Pika Protocol. Contains position identifier, added margin amount, new total margin, and recalculated leverage after the operation.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_positionIdSTRINGUnique identifier for the trading position. String-encoded integer representing the position’s hash or ID in the protocol.
in_senderSTRINGAddress that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_userSTRINGAddress of the user account associated with the transaction or protocol operation. Hex-encoded, 0x-prefixed, 42-character string.
in_marginSTRINGMargin amount posted or held for the trading position. String-encoded integer value representing collateral in the smallest unit of the relevant token or currency.
in_newMarginSTRINGTotal margin balance for the position after adding the additional collateral. String-encoded integer value representing the sum of previous and newly added margin in the smallest unit of the relevant token.
in_newLeverageSTRINGUpdated leverage ratio for the position after adding margin. String-encoded integer representing the leverage multiplier with a fixed-point decimal scaling factor.
addressin_userremovedin_marginin_senderlog_indexblock_numberin_newMarginin_positionIdin_newLeverageblock_timestamptransaction_hash
0xd5a8f233cbddb40368d55c3320644fb36e5970020x6613a1521394c2f17c7d705e48279e44c2a01936false30000000000x6613a1521394c2f17c7d705e48279e44c2a0193627408425111859375000536590778484425193911345315436934125497660221975928381180097826881717520991914734387342023-02-13T12:26:04.000Z0x3e658bb218a46fe93c8d74961f1b6ea5a1742c35ecbd43ec62ede7520c991d11
0xd5a8f233cbddb40368d55c3320644fb36e5970020x191ac84067db87283a1864e1c606e9d51c32f511false30000000000x191ac84067db87283a1864e1c606e9d51c32f511273973418120000000007203298025031858444708063691946148267654677873519375720464765427313751151039637500000002023-02-13T01:53:15.000Z0xf71c2950abbc81e6c554f60bc67f73e79c336d5704bcc845ba5b7a37da2ebc80
0xd5a8f233cbddb40368d55c3320644fb36e5970020xa8293dd8eb52564a35b8357a539146321b934153false30000000000xa8293dd8eb52564a35b8357a539146321b93415327408491361000000001069874113486764184747125966890967125745911216487035972174940635955160710779794421311472023-02-13T12:30:04.000Z0xccfcc4564a9a1159fcd838b165121dd6ca7b1ee82585db8627a0a8157797094e
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PikaPerp_AddMargin_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

PikaPerp_ClosePosition_event

Position closure events from Pika Protocol perpetual futures contracts containing realized PNL (profit and loss), fees, margin, leverage, entry and exit prices, and liquidation status. Used for tracking trading outcomes and settlement calculations in perpetual swap analytics.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_positionIdSTRINGUnique identifier for the trading position. String-encoded integer representing the position’s hash or ID in the protocol.
in_userSTRINGAddress of the user account associated with the transaction or protocol operation. Hex-encoded, 0x-prefixed, 42-character string.
in_productIdSTRINGIdentifier for the financial product or trading pair involved in the transaction. Numeric string representation of the product ID in the protocol’s internal indexing system.
in_priceSTRINGPrice of the asset or position in the transaction or event. Numeric string representation in smallest denomination or with extended precision.
in_entryPriceSTRINGPrice at which the trading position was entered. String-encoded numeric value representing the entry price in the smallest denomination or with extended precision.
in_marginSTRINGMargin amount posted or held for the trading position. String-encoded integer value representing collateral in the smallest unit of the relevant token or currency.
in_leverageSTRINGLeverage multiplier applied to the trading position. String-encoded numeric value representing the multiple of the margin amount used to determine position size.
in_feeSTRINGFee amount charged for the transaction or operation. String-encoded integer value representing the fee in the smallest unit of the relevant token or currency.
in_pnlSTRINGProfit and loss realized from closing the position. String-encoded integer value representing the net gain or loss in the smallest unit of the relevant token or currency, where negative values indicate losses and positive values indicate profits.
in_fundingPaymentSTRINGFunding payment amount charged or credited to the position holder. String-encoded integer value representing the periodic fee in the smallest unit of the relevant token or currency, where negative values indicate payments owed by the trader and positive values indicate payments received.
in_wasLiquidatedBOOLBoolean flag indicating whether the position was liquidated. True when the position was forcibly closed due to insufficient margin, false when voluntarily closed by the user.
in_feein_pnladdressin_userremovedin_pricein_marginlog_indexin_leverageblock_numberin_productIdin_entryPricein_positionIdblock_timestampin_wasLiquidatedtransaction_hashin_fundingPayment
26000000033057490950xd5a8f233cbddb40368d55c3320644fb36e5970020xb9598225c6d4e63573e08e59ba4d048d30bbd07dfalse93297751300000000028200000000091930490139211123119148602971833328438886758825866599770122372815043857201232501982438895026352023-04-18T13:32:28.000Zfalse0x18cae1b86b9a89381c38677709fd312239c9781d9f268651a988df6ae789907d43410394
19000000012009313320xd5a8f233cbddb40368d55c3320644fb36e5970020xb3f876c9972339a1405346b1a8a27204f0bc154afalse93939931000000000028190000000091913096139334816953795029435397783867787082122526035269304220168096007153787080577903008828712023-04-18T12:33:27.000Zfalse0xcd1a8adee7d0479f18318ef4928c6e2aaafa20d1c5cd81f0224a217818f573403551970
10000000036739568740xd5a8f233cbddb40368d55c3320644fb36e5970020x964e785e3314b943f1990a9d6f864f828ee9b40afalse9445776400000000028250000000091912368139110215236788764973272747627296160057966553219587383261197090755758360631056857511532023-04-18T12:30:27.000Zfalse0xfc5d7e1e5b6fc15f7de2b0c5711d6d8057ce76cf850d88ec74938ff7610a71df9391982
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PikaPerp_ClosePosition_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

PikaPerp_NewPosition_event

Perpetual futures position opening events from Pika Protocol containing user address, product identifier, margin amount, leverage multiplier, execution price, and fee charged. Records both long and short positions with oracle price reference and funding rate tracking for derivatives position lifecycle analysis.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_positionIdSTRINGUnique identifier for the trading position. String-encoded integer representing the position’s hash or ID in the protocol.
in_userSTRINGAddress of the user account associated with the transaction or protocol operation. Hex-encoded, 0x-prefixed, 42-character string.
in_productIdSTRINGIdentifier for the financial product or trading pair involved in the transaction. Numeric string representation of the product ID in the protocol’s internal indexing system.
in_isLongBOOLBoolean flag indicating whether the position is long or short. True represents a long position (betting on price increase), false represents a short position (betting on price decrease).
in_priceSTRINGPrice of the asset or position in the transaction or event. Numeric string representation in smallest denomination or with extended precision.
in_oraclePriceSTRINGOracle price of the asset at the time of position creation. String-encoded integer value representing the price feed data used for settlement and liquidation calculations.
in_marginSTRINGMargin amount posted or held for the trading position. String-encoded integer value representing collateral in the smallest unit of the relevant token or currency.
in_leverageSTRINGLeverage multiplier applied to the trading position. String-encoded numeric value representing the multiple of the margin amount used to determine position size.
in_feeSTRINGFee amount charged for the transaction or operation. String-encoded integer value representing the fee in the smallest unit of the relevant token or currency.
in_isNextPriceBOOLIndicates whether the position was executed at the next oracle price or immediately at market price. True means the order was queued for execution at the subsequent price update.
in_fundingSTRINGFunding fee amount applied to the position. String-encoded signed integer value representing the funding payment in the smallest unit of the relevant token or currency.
in_feeaddressin_userremovedin_pricein_isLongin_marginlog_indexin_fundingin_leverageblock_numberin_productIdin_positionIdin_isNextPricein_oraclePriceblock_timestamptransaction_hash
3000000000xd5a8f233cbddb40368d55c3320644fb36e5970020x1abfa3d823f9f8d85af33622046d3b7f66262670false152463658562false300000000030125635567611000000000069057929193456822264389785860062862177833765713415396324438671320409898990227844920true1524635000002023-01-19T02:40:05.000Z0x509b600d1e4104258f44f989030466a9c83738ffa92489660cd28ead5484dc3c
49999990xd5a8f233cbddb40368d55c3320644fb36e5970020x13ae8169f922ab50068135c8066a5cb59bce3588false152901704888true38461538463012566341034130000000690864491883885969673567857508638322559039080424547695117071627055567623995853808582true1529015000002023-01-19T07:45:39.000Z0xd09e4badcfcaba67b0c3e4a399702a6737bb0e5a76f327cc7a54c5d9ce2ce7dd
458585990xd5a8f233cbddb40368d55c3320644fb36e5970020x780173aa6c72d7b069f3a5edf9be3313228ccd42false152843509170false4131405405301256632674311100000006908532312203496107010950801492027090921360285920682689543078609650860403469068030088true1528435000002023-01-19T07:36:32.000Z0x091aa315107b5e5ebc1f33cfe8282b38e4bee64aa4e7d1ab0697458a3d7d8319
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PikaPerp_NewPosition_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

PikaPerp_PositionLiquidated_event

Perpetual position liquidation events from Pika Protocol containing position identifiers, liquidator addresses, and reward distribution amounts. Used for tracking forced position closures and liquidator profitability on Optimism.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_positionIdSTRINGUnique identifier for the trading position. String-encoded integer representing the position’s hash or ID in the protocol.
in_liquidatorSTRINGAddress of the account executing the liquidation operation. Hex-encoded, 0x-prefixed, 42-character string.
in_liquidatorRewardSTRINGReward amount paid to the liquidator for executing the liquidation. String-encoded integer representing the token amount in smallest denomination.
in_remainingRewardSTRINGReward amount remaining after liquidator compensation in a position liquidation. String-encoded integer representing the token amount in smallest denomination.
addressremovedlog_indexblock_numberin_liquidatorin_positionIdblock_timestamptransaction_hashin_remainingRewardin_liquidatorReward
0xd5a8f233cbddb40368d55c3320644fb36e597002false1201063072340xcb2d8d262f88fe43941295fd57a4617c191466ea337918856727168731588012202119507075754000841135496771171802791274681913983582023-07-01T12:07:25.000Z0x6467563539114b32ea75cacd7ad5503a3a1a37293f02a3ad3e2bfbedc6ddf03122830126232283012623
0xd5a8f233cbddb40368d55c3320644fb36e597002false231063164000xcb2d8d262f88fe43941295fd57a4617c191466ea586273587942318008370355729838755831646553649715686668769496061247498328781222023-07-01T17:12:57.000Z0x9a5644079ed0fb75838fcf0a5af0fe278a6fb0e9a680584dc7dfe0ba9f498c4d28386688822838668882
0xd5a8f233cbddb40368d55c3320644fb36e597002false561063150690xcb2d8d262f88fe43941295fd57a4617c191466ea278936125738047361555202554139013734944856776589914846247363629992751853058132023-07-01T16:28:35.000Z0xa5ef580e0595ac500f52ec2b7a3478c13616cd08bb4fc53cb24510b7388aa8d8238968697238968696
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PikaPerp_PositionLiquidated_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

PikaPerp_ProtocolRewardDistributed_event

Protocol reward distribution events from Pika Protocol v3 perpetual futures platform on Optimism. Records reward payouts to addresses with amounts and timestamps for tracking protocol incentive distribution.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_toSTRINGDestination address receiving tokens or assets in the operation. Hex-encoded, 0x-prefixed, 42-character string.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_toaddressremovedin_amountlog_indexblock_numberblock_timestamptransaction_hash
0xbcb15f57f8fdbbea6a1d1dedd67e862dc8a9d6230xd5a8f233cbddb40368d55c3320644fb36e597002false333419475961271009102022-10-03T08:09:13.000Z0x1b99d2cba5e0492c938b1f0c4cf65a7a0321c093e58666a57d8b101e1cfa4198
0xbcb15f57f8fdbbea6a1d1dedd67e862dc8a9d6230xd5a8f233cbddb40368d55c3320644fb36e597002false223830544151480624862022-12-11T15:59:09.000Z0xe57ee6d68076ba19b4a31303a1ffad137b76d890225a5cac70f546319d80fda8
0xbcb15f57f8fdbbea6a1d1dedd67e862dc8a9d6230xd5a8f233cbddb40368d55c3320644fb36e597002false169149021561233074782022-09-15T15:55:42.000Z0x809aa989b0e5c3255587901d6d17c98ec9b0f63dd34ce83ac8da894257be5d3f
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PikaPerp_ProtocolRewardDistributed_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

PikaPerp_Redeemed_event

Liquidity provider share redemption events from Pika Protocol perpetual contracts. Records user withdrawals from vault pools including shares burned, amount received, and remaining share balance for tracking LP position changes.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_userSTRINGAddress of the user account associated with the transaction or protocol operation. Hex-encoded, 0x-prefixed, 42-character string.
in_receiverSTRINGAddress that receives tokens, assets, or rewards from the transaction. Hex-encoded, 0x-prefixed, 42-character string.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_sharesSTRINGNumber of shares involved in the deposit or withdrawal transaction. String-encoded integer representing the share quantity in the protocol’s accounting system.
in_shareBalanceSTRINGUser’s total share balance before the redemption transaction. Numeric string representation of share quantity in the protocol’s accounting system.
in_isFullRedeemBOOLBoolean flag indicating whether the user is redeeming their entire share balance. True when the redemption amount equals the user’s total shares.
addressin_userremovedin_amountin_shareslog_indexin_receiverblock_numberblock_timestampin_isFullRedeemin_shareBalancetransaction_hash
0xd5a8f233cbddb40368d55c3320644fb36e5970020xebc4625726197f736e5f4dcce15dc3e1cda62603false30999431142993481575170xebc4625726197f736e5f4dcce15dc3e1cda626031161627042024-02-14T15:23:05.000Zfalse34252999990x97448243d4af825288bfc25ef343d9fcd7c6257e0d8f94855c122f3885dc0350
0xd5a8f233cbddb40368d55c3320644fb36e5970020xc5192ad83d7610ead79e0f6c82cf253c6c64d59afalse5199438149958884260xc5192ad83d7610ead79e0f6c82cf253c6c64d59a1161725922024-02-14T20:52:41.000Zfalse571499990x4894bfca604bb65c377a2a305fc3ab7a4137437b1cd0fc518166bf198de339c3
0xd5a8f233cbddb40368d55c3320644fb36e5970020xbb334ddd8d55dc9eee374d8fe9f15b8fc8e1ad46false482104632710xbb334ddd8d55dc9eee374d8fe9f15b8fc8e1ad46742470852023-02-14T09:05:57.000Ztrue490530xac3bac3ab3b8516e7f53f504f624f2f3f015b00fa55f8b8f90f65824eaef533d
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PikaPerp_Redeemed_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

PikaPerp_VaultRewardDistributed_event

Reward distribution events from Pika Protocol v3 vault on Optimism, tracking token amounts paid to recipients. Used for analyzing vault fee distributions and liquidity provider earnings over time.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_toSTRINGDestination address receiving tokens or assets in the operation. Hex-encoded, 0x-prefixed, 42-character string.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_toaddressremovedin_amountlog_indexblock_numberblock_timestamptransaction_hash
0x939c11c596b851447e5220584d37f12854ba02ae0xd5a8f233cbddb40368d55c3320644fb36e597002false160001804349032023-03-13T02:49:25.000Z0x1f704dcd89322bc12bdf15c8aa3adca78574f45612e5beb43f2641113ce0d010
0x939c11c596b851447e5220584d37f12854ba02ae0xd5a8f233cbddb40368d55c3320644fb36e597002false161971805307732023-03-13T12:15:16.000Z0xf27873a0523bef44669a0fde7bbada8db01b0da0e173f6b66c0af322100919c5
0x939c11c596b851447e5220584d37f12854ba02ae0xd5a8f233cbddb40368d55c3320644fb36e597002false750001804642812023-03-13T05:20:12.000Z0x4ee8828df78d26fd7dff58c486a8da9070913f98630d0d67dfc3d377a31acca6
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PikaPerp_VaultRewardDistributed_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

PositionManager_ExecuteClosePosition_event

Position closure events from Pika Protocol v3 perpetual futures on Optimism, capturing when traders execute position exits with margin amounts, acceptable slippage prices, and directional (long/short) information. Used for analyzing position lifecycle, trader behavior patterns, and execution timing dynamics.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_accountSTRINGAccount address involved in the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_productIdSTRINGIdentifier for the financial product or trading pair involved in the transaction. Numeric string representation of the product ID in the protocol’s internal indexing system.
in_marginSTRINGMargin amount posted or held for the trading position. String-encoded integer value representing collateral in the smallest unit of the relevant token or currency.
in_isLongBOOLBoolean flag indicating whether the position is long or short. True represents a long position (betting on price increase), false represents a short position (betting on price decrease).
in_acceptablePriceSTRINGMaximum acceptable execution price for the position close order, denominated in the protocol’s base units with high precision. This slippage protection parameter ensures the position only closes if market conditions meet the trader’s specified price threshold.
in_executionFeeSTRINGFee paid to execute the trade or position order. Numeric string representation in the smallest unit of the native chain token (wei for EVM chains).
in_indexSTRINGLiquidity index at the time of the event. Numeric string representation of the scaled interest rate accumulator in ray units (1e27).
in_blockGapSTRINGNumber of blocks elapsed between position close request submission and execution. Values typically range from 0-6 blocks, with 0 indicating same-block execution.
in_timeGapSTRINGTime elapsed in seconds between position close request submission and execution. Values typically range from 0-6 seconds based on sample data.
addressremovedin_indexin_isLongin_marginlog_indexin_accountin_timeGapin_blockGapblock_numberin_productIdblock_timestampin_executionFeetransaction_hashin_acceptablePrice
0x8add31bc901214a37f3bb676cb90ad62b24fd9a5false1true9302822330680x3bbfcf6bf66e2eedd1a6895f089e639a1d459cdc6310718431212023-07-21T19:23:21.000Z250000x4271d4b7f3dc3ff31501390c6b7c399fb256c45d8aeee7659945b5549e3a6985188714154000
0x8add31bc901214a37f3bb676cb90ad62b24fd9a5false401false5493848354580x8e140b709ad3a3213a9061926d46a67b844e59360010558985922023-06-14T21:34:55.000Z250000x89dca55dc02d82e2c0ee25b477229b26ac0d15a8da53eea24decb3bbb6f1e0bb2516527000000
0x8add31bc901214a37f3bb676cb90ad62b24fd9a5false24false1515151515151100x1ad3056bdacfc543afa8c4ae282cfa8e1d33e21200105578200142023-06-14T15:06:17.000Z250000x4ac78f1c1f6d8a9162f532607eaa20217f30092b3cc15795a7e4fee1240d62f663891100
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PositionManager_ExecuteClosePosition_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

PositionManager_ExecuteOpenPosition_event

Position opening execution events from Pika Protocol V3 perpetual futures on Optimism. Records margin, leverage (scaled by 1e8), direction (long/short), product ID, execution fees, and slippage protection via acceptable price limits for analyzing trader behavior and protocol usage.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_accountSTRINGAccount address involved in the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_productIdSTRINGIdentifier for the financial product or trading pair involved in the transaction. Numeric string representation of the product ID in the protocol’s internal indexing system.
in_marginSTRINGMargin amount posted or held for the trading position. String-encoded integer value representing collateral in the smallest unit of the relevant token or currency.
in_leverageSTRINGLeverage multiplier applied to the trading position. String-encoded numeric value representing the multiple of the margin amount used to determine position size.
in_tradeFeeSTRINGFee charged for executing this trade on the Pika protocol, denominated in the smallest unit of the fee token. Typically proportional to the position size and leverage, ranging from tens of thousands to hundreds of millions based on sample values.
in_isLongBOOLBoolean flag indicating whether the position is long or short. True represents a long position (betting on price increase), false represents a short position (betting on price decrease).
in_acceptablePriceSTRINGMaximum acceptable price for the position execution, denominated in the protocol’s price units with extended precision. Sample values around 180 billion suggest prices with 9 decimal places of precision for perpetual futures trades.
in_executionFeeSTRINGFee paid to execute the trade or position order. Numeric string representation in the smallest unit of the native chain token (wei for EVM chains).
in_indexSTRINGLiquidity index at the time of the event. Numeric string representation of the scaled interest rate accumulator in ray units (1e27).
in_blockGapSTRINGNumber of blocks elapsed between position request submission and execution on-chain. Value of 0 indicates execution in the same block as the request.
in_timeGapSTRINGTime elapsed in seconds between position request submission and execution. Typically 0 or 15 seconds based on sample values.
addressremovedin_indexin_isLongin_marginlog_indexin_accountin_timeGapin_blockGapin_leveragein_tradeFeeblock_numberin_productIdblock_timestampin_executionFeetransaction_hashin_acceptablePrice
0x8add31bc901214a37f3bb676cb90ad62b24fd9a5false1false4990005000320x5c990b077fa5cc9f781a686c78e404fd630f285d027390000000194610198563246512023-04-02T15:28:50.000Z300000x4a4aad8e86377e3687764cc4dbe2bafba31d5c52b600604fa399aa66311d755e178950533000
0x8add31bc901214a37f3bb676cb90ad62b24fd9a5false1true99790209900320x23255a1da72b2ab4c31d903c65d2d945b1fbe8021530100000000997902098555742512023-04-02T09:36:53.000Z300000x862b4e50d4b78a79cc2029e11fc773aa24f1397aef8885c68c0f75cf89cf6572182715507000
0x8add31bc901214a37f3bb676cb90ad62b24fd9a5false1false25288265660320x31fe35d72541204d2b856eb3d849532c33fff5f80104000000001011530628569831012023-04-02T22:09:56.000Z300000x996e1a3541801c26d3a569ea50274d67b2935120851fd1b00278bb88ca5a65d1177892716000
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.PositionManager_ExecuteOpenPosition_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

VaultFeeReward_ClaimedReward_event

Reward claim events from Pika Protocol v3 vault fee distribution contract on Optimism. Records user withdrawals of accumulated fee rewards with token address and claim amounts for tracking vault participant earnings.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_userSTRINGAddress of the user account associated with the transaction or protocol operation. Hex-encoded, 0x-prefixed, 42-character string.
in_rewardTokenSTRINGContract address of the reward token being distributed or claimed. Hex-encoded, 0x-prefixed, 42-character string.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
addressin_userremovedin_amountlog_indexblock_numberin_rewardTokenblock_timestamptransaction_hash
0x939c11c596b851447e5220584d37f12854ba02ae0x0626a4d229e4feb73a9a17170a68f566f739fe44false1905381641220145260x7f5c764cbc14f9669b88837ca1490cca17c316072022-09-05T15:39:26.000Z0x8c1d8d2d239a6242719f6945edd5aa50f2393f9efa4d00f67ab1cf7890f4fb10
0x939c11c596b851447e5220584d37f12854ba02ae0x0bb9f7c03eb9c1a31c25b3b7e61e2c503c30b81dfalse13618921220144970x7f5c764cbc14f9669b88837ca1490cca17c316072022-09-05T15:38:56.000Z0x176f304232f9599b83226caa914581f712c5e0ed33eec81833ff02877820badb
0x939c11c596b851447e5220584d37f12854ba02ae0x10a78ba329d754ba5af48c744cfadc0f8b777d0dfalse4302861220372320x7f5c764cbc14f9669b88837ca1490cca17c316072022-09-05T20:55:38.000Z0x7a898b6fbb51b3b2caa0c1537fe2d4368414271e17146867f03df62001d4d070
Query with partition filter
SELECT *
FROM `tt-contracts.pika_v3_optimism.VaultFeeReward_ClaimedReward_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100