Believe Protocol API
🎯 What is Believe Protocol?​
The Believe Protocol is a decentralized token launchpad built on the Solana blockchain that simplifies token creation and trading. It allows users to mint tokens directly through social media interactions (especially X/Twitter), making token creation accessible to everyone, even without technical expertise.
Related APIs​
- Meteora Dynamic Bonding Curve API - Core DBC functionality
- Moonshot APIs - Alternative launchpad
- FourMeme APIs - BSC-based token creation
Pro Tips​
- Use the IDE: The Bitquery IDE provides autocomplete and validation
- Start Simple: Begin with basic queries and gradually add complexity
- Test Incrementally: Build queries step by step, testing each addition
- Contact Support: Get help on Telegram for specific issues
Trade Side Account
field will not be available for aggregate queries in Archive and Combined Datasets
If you want fastest data without any latency, we can provide Kafka streams, please fill this form for it. Our Team will reach out.
Track Token creation using Believe Protocol on Meteora DBC in realtime​
Using this stream, we can get the latest created Meteora DBC tokens using Believe Protocol in realtime. dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
is the address of Meteora DBC and 5qWya6UjwWnGVhdSBL3hyZ7B45jbk6Byt1hwd7ohEGXE
is the Believe Token Authority address, the address which is responsible for calling the instructions on Meteora DBC Program.
subscription MyQuery {
Solana {
Instructions(
where: {
Instruction: {
Program: {
Address: { is: "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN" }
Method: { is: "initialize_virtual_pool_with_spl_token" }
}
}
Transaction: {
Result: { Success: true }
Signer: { is: "5qWya6UjwWnGVhdSBL3hyZ7B45jbk6Byt1hwd7ohEGXE" }
}
}
) {
Block {
Time
}
Instruction {
Accounts {
Token {
ProgramId
Owner
Mint
}
IsWritable
Address
}
Program {
Parsed
Name
Method
Arguments {
Value {
... on Solana_ABI_Json_Value_Arg {
json
}
... on Solana_ABI_Float_Value_Arg {
float
}
... on Solana_ABI_Boolean_Value_Arg {
bool
}
... on Solana_ABI_Bytes_Value_Arg {
hex
}
... on Solana_ABI_BigInt_Value_Arg {
bigInteger
}
... on Solana_ABI_Address_Value_Arg {
address
}
... on Solana_ABI_String_Value_Arg {
string
}
... on Solana_ABI_Integer_Value_Arg {
integer
}
}
Type
Name
}
Address
AccountNames
}
}
Transaction {
Fee
FeeInUSD
FeePayer
Signature
}
}
}
}
Check when a Believe protocol token was created on Meteora DBC​
Using below query, you can check when was a Believe protocol token created. Here we have taken the example of checking creation time and transaction signature of this token GsVr8GdT57gBa6GxujrtAeRGmYbFfABGFk2eaG2DzBLV
. Note: we only have last 8 hours of Solana Instructions data so this query will not return anything for the Believe protocol token which was created more than 8 hours ago.
Try out the query on IDE.
query MyQuery($tokenAddress: String!) {
Solana {
Instructions(
where: {Instruction: {Program: {Address: {is: "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN"}, Method: {is: "initialize_virtual_pool_with_spl_token"}}, Accounts: {includes: {Address: {is: $tokenAddress }}}}, Transaction: {Result: {Success: true}, Signer: {is: "5qWya6UjwWnGVhdSBL3hyZ7B45jbk6Byt1hwd7ohEGXE"}}}
) {
Block {
Time
}
Instruction {
Accounts {
Token {
ProgramId
Owner
Mint
}
IsWritable
Address
}
Program {
Parsed
Name
Method
Arguments {
Value {
... on Solana_ABI_Json_Value_Arg {
json
}
... on Solana_ABI_Float_Value_Arg {
float
}
... on Solana_ABI_Boolean_Value_Arg {
bool
}
... on Solana_ABI_Bytes_Value_Arg {
hex
}
... on Solana_ABI_BigInt_Value_Arg {
bigInteger
}
... on Solana_ABI_Address_Value_Arg {
address
}
... on Solana_ABI_String_Value_Arg {
string
}
... on Solana_ABI_Integer_Value_Arg {
integer
}
}
Type
Name
}
Address
AccountNames
}
}
Transaction {
Fee
FeeInUSD
FeePayer
Signature
}
}
}
}
{
"tokenAddress": "GsVr8GdT57gBa6GxujrtAeRGmYbFfABGFk2eaG2DzBLV"
}
Get the Believe tokens which are graduated to Meteora​
For checking which Believe tokens graduated, we need to get all the tokens created by Believe on Meteora DBC using this API and then after getting all the token addresses put them in this query to check which of them graduated to Meteora.
query MyQuery {
Solana {
Instructions(
where: {
Instruction: {
Program: {
Address: { is: "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN" }
Method: { is: "initialize_virtual_pool_with_spl_token" }
}
}
Transaction: {
Result: { Success: true }
Signer: { is: "5qWya6UjwWnGVhdSBL3hyZ7B45jbk6Byt1hwd7ohEGXE" }
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Time
}
Instruction {
Accounts {
Token {
ProgramId
Owner
Mint
}
IsWritable
Address
}
Program {
Parsed
Name
Method
Arguments {
Value {
... on Solana_ABI_Json_Value_Arg {
json
}
... on Solana_ABI_Float_Value_Arg {
float
}
... on Solana_ABI_Boolean_Value_Arg {
bool
}
... on Solana_ABI_Bytes_Value_Arg {
hex
}
... on Solana_ABI_BigInt_Value_Arg {
bigInteger
}
... on Solana_ABI_Address_Value_Arg {
address
}
... on Solana_ABI_String_Value_Arg {
string
}
... on Solana_ABI_Integer_Value_Arg {
integer
}
}
Type
Name
}
Address
AccountNames
}
}
Transaction {
Fee
FeeInUSD
FeePayer
Signature
}
}
}
}
then put all the token addresses in the $tokenAddresses
variable you get in the following query which you can test here.
query MyQuery($tokenAddresses: [String!]) {
Solana {
Instructions(
where: {Instruction: {Program: {Address: {is: "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN"}, Method: {in: ["migrate_meteora_damm", "migration_damm_v2"]}}, Accounts: {includes: {Address: {in: $tokenAddresses}}}}, Transaction: {Result: {Success: true}}}
) {
Block {
Time
}
Instruction {
Accounts {
Token {
ProgramId
Owner
Mint
}
IsWritable
Address
}
Program {
Parsed
Name
Method
Arguments {
Value {
... on Solana_ABI_Json_Value_Arg {
json
}
... on Solana_ABI_Float_Value_Arg {
float
}
... on Solana_ABI_Boolean_Value_Arg {
bool
}
... on Solana_ABI_Bytes_Value_Arg {
hex
}
... on Solana_ABI_BigInt_Value_Arg {
bigInteger
}
... on Solana_ABI_Address_Value_Arg {
address
}
... on Solana_ABI_String_Value_Arg {
string
}
... on Solana_ABI_Integer_Value_Arg {
integer
}
}
Type
Name
}
Address
AccountNames
}
}
Transaction {
Fee
FeeInUSD
FeePayer
Signature
}
}
}
}
{
"tokenAddresses":["3EX4yHYs25RXaNMBgaNtpGxPKvX73P9QWVw8fpNEhnow","2bzXpTCu3faGocjBKZvxv63yV3gnWDZYfH6mRVfGzbh8","Dpz6knqUSTfV2ESXqQvbiWVznzRPYSYivUtXT3TVpWkA"]
}
Get latest Meteora DBC Token Creations using Believe Protocol​
Using this query, we can get the 10 latest created Meteora DBC tokens using Believe Protocol.
query MyQuery {
Solana {
Instructions(
where: {
Instruction: {
Program: {
Address: { is: "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN" }
Method: { is: "initialize_virtual_pool_with_spl_token" }
}
}
Transaction: {
Result: { Success: true }
Signer: { is: "5qWya6UjwWnGVhdSBL3hyZ7B45jbk6Byt1hwd7ohEGXE" }
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Time
}
Instruction {
Accounts {
Token {
ProgramId
Owner
Mint
}
IsWritable
Address
}
Program {
Parsed
Name
Method
Arguments {
Value {
... on Solana_ABI_Json_Value_Arg {
json
}
... on Solana_ABI_Float_Value_Arg {
float
}
... on Solana_ABI_Boolean_Value_Arg {
bool
}
... on Solana_ABI_Bytes_Value_Arg {
hex
}
... on Solana_ABI_BigInt_Value_Arg {
bigInteger
}
... on Solana_ABI_Address_Value_Arg {
address
}
... on Solana_ABI_String_Value_Arg {
string
}
... on Solana_ABI_Integer_Value_Arg {
integer
}
}
Type
Name
}
Address
AccountNames
}
}
Transaction {
Fee
FeeInUSD
FeePayer
Signature
}
}
}
}
Get latest Claims of Creator Fees using Believe Protocol​
Using this query, we can get the latest claims of Creator Trading Fees using Believe Protocol.
query MyQuery {
Solana {
Instructions(
where: {
Instruction: {
Program: {
Address: { is: "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN" }
Method: { is: "claim_creator_trading_fee" }
}
}
Transaction: {
Result: { Success: true }
Signer: { is: "5qWya6UjwWnGVhdSBL3hyZ7B45jbk6Byt1hwd7ohEGXE" }
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Time
}
Instruction {
Accounts {
Token {
ProgramId
Owner
Mint
}
IsWritable
Address
}
Program {
Parsed
Name
Method
Arguments {
Value {
... on Solana_ABI_Json_Value_Arg {
json
}
... on Solana_ABI_Float_Value_Arg {
float
}
... on Solana_ABI_Boolean_Value_Arg {
bool
}
... on Solana_ABI_Bytes_Value_Arg {
hex
}
... on Solana_ABI_BigInt_Value_Arg {
bigInteger
}
... on Solana_ABI_Address_Value_Arg {
address
}
... on Solana_ABI_String_Value_Arg {
string
}
... on Solana_ABI_Integer_Value_Arg {
integer
}
}
Type
Name
}
Address
AccountNames
}
}
Transaction {
Fee
FeeInUSD
FeePayer
Signature
}
}
}
}