Web3j

Web3j source connector

Key Featuresarrow-up-right

Source connector for web3j. It is used to read data from the blockchain, such as block information, transactions, smart contract events, etc. Currently, it supports reading block height data.

Source Optionsarrow-up-right

Name
Type
Required
Default
Description

url

String

Yes

-

When using Infura as the service provider, the URL is used for communication with the Ethereum network.

How to Create a Http Data Synchronization Jobsarrow-up-right

env {
  parallelism = 1
  job.mode = "BATCH"
}

source {
  Web3j {
    url = "https://mainnet.infura.io/v3/xxxxx"
  }
}

# Console printing of the read Http data
sink {
  Console {
    parallelism = 1
  }
}

Then you will get the following data:

Last updated