HOP Mainnet Bridger
Curated by

Hop Protocol
Call-to-Action
https://app.hop.exchange/ID Type
EVM ADDRESS
Cred Type
GRAPHQL
Last Update Time
06/10/2024, 13:40:01
Endpoint
https://api.thegraph.com/***Query
query bridgeTransfer($address: String!){ transferSentToL2S( where: { destinationChainId: 42161 timestamp_gte: 1655787600 timestamp_lte: 1656392340 recipient: $address }, ) { amount token } }
Expression
function(data) { if (data != null && data.transferSentToL2S != null) { const ts = data.transferSentToL2S for (let i = 0; i < ts.length; i++) { if (ts[i].token === 'ETH') { return 1 } } } return 0 }