BLUR NFT Marketplace API
Today we will discuss getting NFT-related data from BLUR NFT Marketplace. BLUR recently beamed into the Web3 scenario with their famous token airdrop and no fees model.
Additionally, BLUR also allows NFT Loans through its novel Blend protocol. We will also discuss how to get NFT loan data using Bitquery Graphql API from the Blur market.
If you want to learn more about Bitquery NFT data capabilities, you can read our article about Opensea API and NFT API Guide.
Note — We are using Streaming APIs (v2) to get the following data; you can also turn them into WebSocket simply using Graphql Subscription.
You can run the following queries here.
Latest Trades on Blur
BLUR marketplace supports Seaport protocol; we will use it to get the latest Blur trades.
In this query, we get NFT trades on Blur by setting the To address in the transaction to Blur Marketplace contract.
query MyQuery {
EVM {
DEXTrades(
limit: { offset: 0, count: 10 }
orderBy: { descendingByField: "Block_Time" }
where: {
Trade: { Dex: { ProtocolName: { is: "seaport_v1.4" } } }
Transaction: {
To: { is: "0x39da41747a83aeE658334415666f3EF92DD0D541" }
}
}
) {
Trade {
Dex {
ProtocolName
}
Buy {
Price
Seller
Buyer
Currency {
HasURI
Name
Fungible
SmartContract
}
}
Sell {
Price
Amount
Currency {
Name
}
Buyer
Seller
}
}
Transaction {
Hash
}
Block {
Time
}
}
}
}
Most traded NFTs on Blur Marketplace
Let’s figure out the most traded NFT on the Blur marketplace. In the following query, we aggregate based on buyers, sellers, nfts, and trade volume and sorting based on count (Trade count).
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {
Trade: { Dex: { ProtocolName: { in: "seaport_v1.4" } } }
Transaction: {
To: { is: "0x39da41747a83aeE658334415666f3EF92DD0D541" }
}
}
orderBy: { descendingByField: "count" }
limit: { count: 10 }
) {
tradeVol: sum(of: Trade_Buy_Amount)
count
buyers: count(distinct: Trade_Buy_Buyer)
seller: count(distinct: Trade_Buy_Seller)
nfts: count(distinct: Trade_Buy_Ids)
Trade {
Buy {
Currency {
Name
ProtocolName
Symbol
Fungible
SmartContract
}
}
}
}
}
}
Total buy-sell of an NFT token on BLUR
In the following query, we are getting total trades, trade volume, buyers, and sellers for Nakamigos NFT token.
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {
Trade: {
Dex: { ProtocolName: { in: "seaport_v1.4" } }
Buy: {
Currency: {
Fungible: false
SmartContract: {
is: "0xd774557b647330c91bf44cfeab205095f7e6c367"
}
}
}
}
Transaction: {
To: { is: "0x39da41747a83aeE658334415666f3EF92DD0D541" }
}
}
orderBy: { descendingByField: "count" }
limit: { count: 10 }
) {
tradeVol: sum(of: Trade_Buy_Amount)
count
buyer: count(distinct: Trade_Buy_Buyer)
seller: count(distinct: Trade_Buy_Seller)
nfts: count(distinct: Trade_Buy_Ids)
Trade {
Buy {
Currency {
Name
ProtocolName
Symbol
Fungible
SmartContract
}
}
}
}
}
}
Top buyers of NFTs on BLUR
If we want to know the top buyer on the Blur marketplace, you can use the following query. In this query, we ate aggregating NFTs bought or sold, unique transactions for top 10 buyers, and sorting them based on no. of trades.
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {
Trade: {
Dex: { ProtocolName: { in: "seaport_v1.4" } }
Buy: { Currency: { Fungible: false } }
}
Transaction: {
To: { is: "0x39da41747a83aeE658334415666f3EF92DD0D541" }
}
}
orderBy: { descendingByField: "count" }
limit: { count: 10 }
) {
count
uniq_tx: count(distinct: Transaction_Hash)
Block {
first_date: Time(minimum: Block_Date)
last_date: Time(maximum: Block_Date)
}
nfts: count(distinct: Trade_Buy_Ids)
difffernt_nfts: count(distinct: Trade_Buy_Currency_SmartContract)
total_money_paid: sum(of: Trade_Sell_Amount)
Trade {
Buy {
Buyer
}
}
}
}
}
Specific buyer stats for an NFT on BLUR
In the following query, we are getting details for a specific address on Blur nft marketplace. We are also getting the first and last trade dates for the address.
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {
Trade: {
Dex: { ProtocolName: { in: "seaport_v1.4" } }
Buy: {
Currency: {
SmartContract: {
is: "0xd774557b647330c91bf44cfeab205095f7e6c367"
}
}
Buyer: { is: "0x9ba58eea1ea9abdea25ba83603d54f6d9a01e506" }
}
}
Transaction: {
To: { is: "0x39da41747a83aeE658334415666f3EF92DD0D541" }
}
}
orderBy: { descendingByField: "count" }
limit: { count: 10 }
) {
count
uniq_tx: count(distinct: Transaction_Hash)
Block {
first_date: Time(minimum: Block_Date)
last_date: Time(maximum: Block_Date)
}
nfts: count(distinct: Trade_Buy_Ids)
Trade {
Buy {
Buyer
Currency {
Name
ProtocolName
Symbol
Fungible
SmartContract
}
}
}
}
}
}
Latest Loans taken on Blur
Blur uses the Blend protocol to enable NFT loans. We will query Blur’s Blend smart contract events to get different loans related data.
In this query, we look for the “LoanOfferTaken” events and set the smart contract to the Blur: Blend Contract to get loan events on the marketplace.
We are using Logheader to query smart contract events and not Log → smart contract because it’s a delegated proxy contract.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "LoanOfferTaken" } } }
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Latest loans for specific NFT token
Now we can filter arguments in smart contract events; in this API, we are getting all loans for the MutantApeYachtClub NFT collection sorted based on block time on the Blur marketplace.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "LoanOfferTaken" } } }
Arguments: {
includes: [
{
Name: { is: "collection" }
Value: {
Address: { is: "0x60e4d786628fea6478f785a6d7e704777c86a7c6" }
}
}
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Latest Loans for a specific lender
Using the same technique of filtering arguments in the following API, we are getting the latest loans for specific lender address. Similarly, you can use this API to get the lastest loans for specific borrower address.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "LoanOfferTaken" } } }
Arguments: {
includes: [
{
Name: { is: "lender" }
Value: {
Address: { is: "0xfa0e027fcb7ce300879f3729432cd505826eaabc" }
}
}
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Loans above a specific amount on the Blur NFT marketplace
If we want to track loans above a specific amount on the Blur marketplace, we can use the following API.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "LoanOfferTaken" } } }
Arguments: {
includes: [
{
Name: { is: "loanAmount" }
Value: { BigInteger: { gt: "3000000000000000000" } }
}
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Loan history for specific NFT ID
Let’s say you want to know the loan history for a specific NFT ID on the Blur marketplace; you can use the following API to get this result.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "LoanOfferTaken" } } }
Arguments: {
includes: [
{
Name: { is: "collection" }
Value: {
Address: { is: "0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b" }
}
}
{ Name: { is: "tokenId" }, Value: { BigInteger: { eq: "2662" } } }
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Get loan details for specific LienId
Blur’s Blend protocol uses LienID as the primary key throughout to track details of specific loans.
We will use this query to track loan details for specific LienID through different events.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "LoanOfferTaken" } } }
Arguments: {
includes: [
{ Name: { is: "lienId" }, Value: { BigInteger: { eq: "40501" } } }
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Latest Loan Refinances on Blur
Refinance means taking out a new loan to pay off an existing loan. In the case of NFTs, refinance can be used to take out a new loan using an NFT as collateral. In this query will get the latest refinance events.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "Refinance" } } }
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Loans refinanced by specific Address
If you want to track loans refinanced by a specific address on Blur marketplace, use the following query.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "Refinance" } } }
Arguments: {
includes: [
{
Name: { is: "newLender" }
Value: {
Address: { is: "0xaaac34d30d6938787c653aafb922bc20bfa9c512" }
}
}
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
All refinance loans for specific NFT
Use the following query to filter Refinance event arguments to get all refinance loans for specific NFT collection.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "Refinance" } } }
Arguments: {
includes: [
{
Name: { is: "collection" }
Value: {
Address: { is: "0xed5af388653567af2f388e6224dc7c4b3241c544" }
}
}
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Loan Repayments
In this query, we get loan repayment transactions by filtering for “Repay” events and setting the smart contract address to Blur: Blend address.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "Repay" } } }
Arguments: {
includes: [
{ Name: { is: "lienId" }, Value: { BigInteger: { eq: "43662" } } }
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Loan repayment for specific NFT collection
To get loan repayments for specific NFT collections, you can filter “Repay” smart contract event arguments. Check the following API to get the latest loan repayments for specific NFT collections on the Blur marketplace.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "Repay" } } }
Arguments: {
includes: [
{
Name: { is: "collection" }
Value: {
Address: { is: "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d" }
}
}
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Auction Events
The StartAuction event is emitted when an auction is started for an NFT on the Blur: Blend smart contract. You can find the query here. Similarly, you can also get Auctions for specific Lien ID using this query.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "StartAuction" } } }
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
New Auctions for specific NFT Collection
Similarly, you can get all the latest actions for specific NFT collections. See the following query in which we are getting the latest auction for Milady NFT collection on the Blur marketplace.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "StartAuction" } } }
Arguments: {
includes: [
{
Name: { is: "collection" }
Value: {
Address: { is: "0x5af0d9827e0c53e4799bb226655a1de152a425a5" }
}
}
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Latest Locked NFTs Buy Trades
A locked NFT is an NFT that is temporarily unable to be transferred or sold. It will be sold once the lock period has ended. The price of a locked NFT may be lower than the price of a non-locked NFT because the buyer cannot access the NFT until the lock period has expired.
To get locked NFT trades, we filter for the “buylocked” smartcontract event. You can find the query here.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "BuyLocked" } } }
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Locked NFTs bought by a buyer
Using the following query, we can also track all the Locked NFTs bought by specific buyers by tracking the BuyLocked event and filtering it using buyer argument.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "BuyLocked" } } }
Arguments: {
includes: [
{
Name: { is: "buyer" }
Value: {
Address: { is: "0x96a7021972646bb05f9b544b13036a4872796fb0" }
}
}
]
}
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Get Cancelled Offers
To get this data, we filter by the OfferCancelled event emitted when an offer is canceled. You can find the query here.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "OfferCancelled" } } }
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Get Seize Offers
When a seizure event occurs, the NFT is typically transferred to the control of the third party who is seizing it. To get this data, we filter transactions by the “seize” event on the Blur: Blend contract. You can get the query here.
{
EVM(dataset: combined, network: eth) {
Events(
where: {
LogHeader: {
Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
}
Log: { Signature: { Name: { is: "Seize" } } }
}
limit: { count: 10 }
orderBy: { descending: Block_Time }
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
Type
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Subscribe to our newsletter
Subscribe and never miss any updates related to our APIs, new developments & latest news etc. Our newsletter is sent once a week on Monday.