in this page
https://forum.moralis.io/t/using-event-syncs-in-moralis-sdk-v2-parse-server/20202
I can see an example of saving the data in the moralis or parse-server db, but the response from the stream is this:
{
"confirmed": true,
"chainId": "0x13881",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint8",
"name": "auctionType",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint256",
"name": "auctionEndTime",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "minPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "increment",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "seller",
"type": "address"
}
],
"name": "AuctionCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "highestBidder",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "highestBid",
"type": "uint256"
}
],
"name": "AuctionEnded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint64",
"name": "auctionEndPeriod",
"type": "uint64"
}
],
"name": "AuctionPeriodUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "auctionSettler",
"type": "address"
}
],
"name": "AuctionSettled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "nftOwner",
"type": "address"
}
],
"name": "AuctionWithdrawn",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "bidder",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "ethAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "erc20Token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenAmount",
"type": "uint256"
}
],
"name": "BidMade",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "bidder",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "bidAmount",
"type": "uint256"
}
],
"name": "BidPlaced",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "highestBidder",
"type": "address"
}
],
"name": "BidWithdrawn",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint128",
"name": "newBuyNowPrice",
"type": "uint128"
}
],
"name": "BuyNowPriceUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "HighestBidTaken",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newMinPrice",
"type": "uint256"
}
],
"name": "MinimumPriceUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "nftSeller",
"type": "address"
},
{
"indexed": false,
"internalType": "uint128",
"name": "nftHighestBid",
"type": "uint128"
},
{
"indexed": false,
"internalType": "address",
"name": "nftHighestBidder",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "nftRecipient",
"type": "address"
}
],
"name": "NFTTransferredAndSellerPaid",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "nftSeller",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "erc20Token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint128",
"name": "minPrice",
"type": "uint128"
},
{
"indexed": false,
"internalType": "uint128",
"name": "buyNowPrice",
"type": "uint128"
},
{
"indexed": false,
"internalType": "uint32",
"name": "auctionBidPeriod",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint32",
"name": "bidIncreasePercentage",
"type": "uint32"
},
{
"indexed": false,
"internalType": "address[]",
"name": "feeRecipients",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint32[]",
"name": "feePercentages",
"type": "uint32[]"
}
],
"name": "NftAuctionCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "nftSeller",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "erc20Token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint128",
"name": "buyNowPrice",
"type": "uint128"
},
{
"indexed": false,
"internalType": "address",
"name": "whitelistedBuyer",
"type": "address"
},
{
"indexed": false,
"internalType": "address[]",
"name": "feeRecipients",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint32[]",
"name": "feePercentages",
"type": "uint32[]"
}
],
"name": "SaleCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "nftContractAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "newWhitelistedBuyer",
"type": "address"
}
],
"name": "WhitelistedBuyerUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Withdrawal",
"type": "event"
}
],
"streamId": "b78a3913-5432-4264-8097-7f0b579c511a",
"tag": "marketKoolinart",
"retries": 0,
"block": {
"number": "35110649",
"hash": "0xc6fa2655f2320c2fffd7b05844947f0cadfdb0b9e39395038f4272d092574223",
"timestamp": "1683064970"
},
"logs": [
{
"logIndex": "0",
"transactionHash": "0xce7ea797361e3536071da628c4790b85373829cf9561f4fa29170f2310aa83e8",
"address": "0xe76bc6e52c2db6054c4e63f2c9e72ade240ac3de",
"data": "0x0000000000000000000000001db221bc1505f77d14b365897e0b1b4508baa8a30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a136632e5123be81d620ecbdf5669741e32e3d7500000000000000000000000011142365ddbc92c3547b8a074289409b5432ca8b0000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b0a7c00ea503adbdfe0071bdd9eb6fbb18e7c6b500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000005",
"topic0": "0xb4cb1faa7b4f2b837334e4a12fb94a1cfc320c32b70dd31e113d1795b9d0f056",
"topic1": null,
"topic2": null,
"topic3": null
},
{
"logIndex": "1",
"transactionHash": "0xce7ea797361e3536071da628c4790b85373829cf9561f4fa29170f2310aa83e8",
"address": "0x0000000000000000000000000000000000001010",
"data": "0x000000000000000000000000000000000000000000000000000106a9b9040a0000000000000000000000000000000000000000000000000050093633198f8d540000000000000000000000000000000000000000000007c93b593fe07390a18500000000000000000000000000000000000000000000000050082f89608b83540000000000000000000000000000000000000000000007c93b5a468a2c94ab85",
"topic0": "0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"topic1": "0x0000000000000000000000000000000000000000000000000000000000001010",
"topic2": "0x000000000000000000000000a136632e5123be81d620ecbdf5669741e32e3d75",
"topic3": "0x0000000000000000000000003a22c8bc68e98b0faf40f349dd2b2890fae01484"
}
],
"txs": [
{
"hash": "0xce7ea797361e3536071da628c4790b85373829cf9561f4fa29170f2310aa83e8",
"gas": "192534",
"gasPrice": "1500000016",
"nonce": "24",
"input": "0xf45671f10000000000000000000000001db221bc1505f77d14b365897e0b1b4508baa8a3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011142365ddbc92c3547b8a074289409b5432ca8b0000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b0a7c00ea503adbdfe0071bdd9eb6fbb18e7c6b500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000005",
"transactionIndex": "0",
"fromAddress": "0xa136632e5123be81d620ecbdf5669741e32e3d75",
"toAddress": "0xe76bc6e52c2db6054c4e63f2c9e72ade240ac3de",
"value": "0",
"type": "2",
"v": "1",
"r": "112454914985421993243539775100918453554364874579899827459310319436727367478546",
"s": "31579467393975761118355844565324807752794005760628610573678864325917930359714",
"receiptCumulativeGasUsed": "192534",
"receiptGasUsed": "192534",
"receiptContractAddress": null,
"receiptRoot": null,
"receiptStatus": "1"
}
],
"txsInternal": [],
"erc20Transfers": [],
"erc20Approvals": [],
"nftTokenApprovals": [],
"nftApprovals": {
"ERC721": [],
"ERC1155": []
},
"nftTransfers": [],
"nativeBalances": []
}
and the stream configuration is this:
The question is: before, just by putting the abi and selecting the event that would be saved, it would be done automatically, should I create something like the example link? so that the data is stored as it would capture only the events because if the stream returns information to me, I do not see that it returns what I am requesting from the abi example AuctionCreated(address,uint256,uint8,uint256,uint256,uint256,address) This should return because it is running on the smart contract and it doesn’t, do I have something wrong in the configuration?