Play Zeebit

Curated by

MagicBlock

Call-to-Action
https://zeebit.io/

ID Type

SOLANA ADDRESS

Cred Type

REST

Last Update Time

06/26/2025, 05:11:24

Method

POST

Header

{"apikey":"***"}

Endpoint

https://mkofskrytyczmwqgowor.supabase.co/***

Body

{"query":"query GetTransactionsByFeepayerAndProgram($feePayerAddress: String!, $programId: String!) {\n  txs_program_deleggvxpwv2fqjuhqcf5zsyms4jtljteaamarrsaeshCollection(\n    filter: {\n      feepayer: { eq: $feePayerAddress }\n      accounts: { contains: [$programId] }\n    }\n  ) {\n    edges {\n      node {\n        feepayer\n      }\n    }\n  }\n}","variables":{"feePayerAddress":"$address","programId":"zbtv2cgU1VzSBKNXZ96TcWSRVp1c8HxqCmRp8zPX1uh"}}

Expression

function (data) {
// Write your conditional logic here, return 1 if the condition is met, 0 otherwise
if(data?.data?.txs_program_deleggvxpwv2fqjuhqcf5zsyms4jtljteaamarrsaeshCollection?.edges?.length > 0) {
  return 1;
}
return 0
}