you have to add an abi for an event here:
"abi":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"}
not for a function
you have to add an abi for an event here:
"abi":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"}
not for a function
for mint : Input: {}
Result: {“status”:200,“data”:{“success”:true,“result”:{“providers”:[{“chain”:“Eth”,“name”:“Ropsten”,“network”:“testnet”,“exchange”:“ropsten”,“chainId”:“0x3”,“lookups”:[“testnet”,“0x3”,“ropsten”],“token”:{“name”:“Ether”,“symbol”:“ETH”},“httpProviderUrl”:“eth/ropsten”,“maxRecordsPerCategory”:50,“userSync”:true}],“addressSyncs”:[],“eventSyncs”:[{“chainId”:“0x3”,“address”:“0xA63AdD23aB1646D6065b6513876259D2dC43da55”,“tableName”:“MintTransactions”,“topic”:“mint(uint256)”,“abi”:{“inputs”:[{“internalType”:“uint256”,“name”:“amount”,“type”:“uint256”}],“name”:“mint”,“outputs”:[],“stateMutability”:“payable”,“type”:“function”},“filter”:"",“sync_historical”:true,“description”:“mint”}]}}}
Tabels not created
you have to use an abi for an event (for for a function), can you paste the topic, chain, abi that you use?
for transfer:
[{“chain”:“Eth”,“name”:“Ropsten”,“network”:“testnet”,“exchange”:“ropsten”,“chainId”:“0x3”,“lookups”:[“testnet”,“0x3”,“ropsten”],“token”:{“name”:“Ether”,“symbol”:“ETH”},“httpProviderUrl”:“eth/ropsten”,“maxRecordsPerCategory”:50,“userSync”:true}],“addressSyncs”:[],“eventSyncs”:[{“chainId”:“0x3”,“address”:“0xA63AdD23aB1646D6065b6513876259D2dC43da55”,“tableName”:“TransTransactiond”,“topic”:“transfer(address,address,uint256)”,“abi”:{“anonymous”:false,“inputs”:[{“indexed”:true,“internalType”:“address”,“name”:“from”,“type”:“address”},{“indexed”:true,“internalType”:“address”,“name”:“to”,“type”:“address”},{“indexed”:false,“internalType”:“uint256”,“name”:“value”,“type”:“uint256”}],“name”:“Transfer”,“type”:“event”},“filter”:"",“sync_historical”:true,“description”:“transfer”}
you can check here how to post code on forum:
for transfer:
[{“chain”:“Eth”,“name”:“Ropsten”,“network”:“testnet”,“exchange”:“ropsten”,“chainId”:“0x3”,“lookups”:[“testnet”,“0x3”,“ropsten”],“token”:{“name”:“Ether”,“symbol”:“ETH”},“httpProviderUrl”:“eth/ropsten”,“maxRecordsPerCategory”:50,“userSync”:true}],“addressSyncs”:[],“eventSyncs”:[{“chainId”:“0x3”,“address”:“0xA63AdD23aB1646D6065b6513876259D2dC43da55”,“tableName”:“TransTransactiond”,“topic”:“transfer(address,address,uint256)”,“abi”:{“anonymous”:false,“inputs”:[{“indexed”:true,“internalType”:“address”,“name”:“from”,“type”:“address”},{“indexed”:true,“internalType”:“address”,“name”:“to”,“type”:“address”},{“indexed”:false,“internalType”:“uint256”,“name”:“value”,“type”:“uint256”}],“name”:“Transfer”,“type”:“event”},“filter”:"",“sync_historical”:true,“description”:“transfer”}`Preformatted text`
for mint : Input: {}
[{“chain”:“Eth”,“name”:“Ropsten”,“network”:“testnet”,“exchange”:“ropsten”,“chainId”:“0x3”,“lookups”:[“testnet”,“0x3”,“ropsten”],“token”:{“name”:“Ether”,“symbol”:“ETH”},“httpProviderUrl”:“eth/ropsten”,“maxRecordsPerCategory”:50,“userSync”:true}],“addressSyncs”:[],“eventSyncs”:[{“chainId”:“0x3”,“address”:“0xA63AdD23aB1646D6065b6513876259D2dC43da55”,“tableName”:“MintTransactions”,“topic”:“mint(uint256)”,“abi”:{“inputs”:[{“internalType”:“uint256”,“name”:“amount”,“type”:“uint256”}],“name”:“mint”,“outputs”:[],“stateMutability”:“payable”,“type”:“function”},“filter”:"",“sync_historical”:true,“description”:“mint”}]}}}
I mean the abi that you use for event sync, that looks like a paste from server logs
You put wrong abi i guess, you should put the abi corresponds for the event.
type
should say event in your Abi.
This looks correct Abi. I am seeing a tiny error in the Topic, it should be Transfer(address, address, uint256) T
should be capital letter.
It looks it is working.
I spent two days finding the cause and I think there is nothing wrong and that makes me surprised , I will try again
Thank you
The issues was you pass wrong Abi for mint. I am glad it worked now.