You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to watch the event usdt trc20
I ran a full node server with the event plugin service, but i can only see "blockTrigger", "transactionTrigger" and "solidityTrigger"
i can't see contract event and contract log trigger
my config.conf:
`{
event.subscribe = {
native = {
useNativeQueue = true // if true, use native message queue, else use event plugin.
bindport = 5555 // bind port
sendqueuelength = 1000 //max length of send queue
}
path = "/home/dbgames/fullnode/event-plugin/build/plugins/plugin-kafka-1.0.0.zip" // absolute path of plugin
server = "127.0.0.1:50051" // target server address to receive event triggers
#dbconfig="" // dbname|username|password
contractParse = true,
topics = [
{
triggerName = "block" // block trigger, the value can't be modified
enable = true
topic = "block" // plugin topic, the value could be modified
},
{
triggerName = "transaction"
enable = true
topic = "transaction"
},
{
triggerName = "contractevent"
enable = true
topic = "contractevent"
},
{
triggerName = "contractlog"
enable = true
topic = "contractlog"
},
{
triggerName = "solidity" // solidity block event trigger, the value can't be modified
enable = true // the default value is true
topic = "solidity"
},
{
triggerName = "solidityevent"
enable = false
topic = "solidityevent"
},
{
triggerName = "soliditylog"
enable = false
topic = "soliditylog"
}
]
filter = {
fromblock = "" // the value could be "", "earliest" or a specified block number as the beginning of the queried range
toblock = "" // the value could be "", "latest" or a specified block number as end of the queried range
contractAddress = [
"TVkNuE1BYxECWq85d8UR9zsv6WppBns9iH" // contract address you want to subscribe, if it's set to "", you will receive contract logs/events with any contract address.
]
contractTopic = [
"" // contract topic you want to subscribe, if it's set to "", you will receive contract logs/events with any contract topic.
]
}
} my socket.js file :
var zmq = require('zeromq')
, sock = zmq.socket('sub');
I want to watch the event usdt trc20
I ran a full node server with the event plugin service, but i can only see "blockTrigger", "transactionTrigger" and "solidityTrigger"
i can't see contract event and contract log trigger
my config.conf:
`{
event.subscribe = {
native = {
useNativeQueue = true // if true, use native message queue, else use event plugin.
bindport = 5555 // bind port
sendqueuelength = 1000 //max length of send queue
}
}
my socket.js file :
var zmq = require('zeromq')
, sock = zmq.socket('sub');
sock.connect('tcp://127.0.0.1:5555');
sock.subscribe('blockTrigger');
sock.subscribe('transactionTrigger');
sock.subscribe('contractLogTrigger');
sock.subscribe('contractEventTrigger');
sock.on('message', function(topic, message) {
console.log(new Buffer(topic).toString('utf8'), new Buffer(message).toString('utf8'));
});
`
The text was updated successfully, but these errors were encountered: