Class Web3jEndpointBuilderFactory.Web3jHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.Web3jEndpointBuilderFactory.Web3jHeaderNameBuilder
-
- Enclosing interface:
- Web3jEndpointBuilderFactory
public static class Web3jEndpointBuilderFactory.Web3jHeaderNameBuilder extends Object
The builder of headers' name for the Web3j Ethereum Blockchain component.
-
-
Constructor Summary
Constructors Constructor Description Web3jHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaDDRESS()Contract address.StringaDDRESSES()Contract address or a list of addresses.StringatBlock()The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.StringblockHash()Hash of the block where this transaction was in.StringclientId()A random hexadecimal(32 bytes) ID identifying the client.StringdATA()The compiled code of a contract OR the hash of the invoked method signature and encoded parameters.StringdatabaseName()The local database name.StringerrorCode()The error code.StringerrorData()The error data.StringerrorMessage()The error message.StringethHashrate()A hexadecimal string representation (32 bytes) of the hash rate.StringfilterId()The filter id to use.StringfromAddress()The address the transaction is send from.StringfromBlock()The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.StringfullTransactionObjects()If true it returns the full transaction objects, if false only the hashes of the transactions.StringgasLimit()The maximum gas allowed in this block.StringgasPrice()Gas price used for each paid gas.StringheaderPowHash()The header's pow-hash (256 bits) used for submitting a proof-of-work solution.StringiD()The id.StringiNDEX()The transactions/uncle index position in the block.StringkeyName()The key name in the database.StringmixDigest()The mix digest (256 bits) used for submitting a proof-of-work solution.StringnONCE()The nonce found (64 bits) used for submitting a proof-of-work solution.Stringoperation()The operation.StringpOSITION()The transaction index position withing a block.StringpRIORITY()The priority of a whisper message.StringprivateFor()A transaction privateFor nodes with public keys in a Quorum network.Stringsha3HashOfDataToSign()Message to sign by calculating an Ethereum specific signature.StringsignedTransactionData()The signed transaction data for a new message call transaction or a contract creation for signed transactions.StringsourceCode()The source code to compile.Stringstatus()The status of the operation.StringtoAddress()The address the transaction is directed to.StringtoBlock()The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.StringtOPICS()Topics are order-dependent.StringtransactionHash()The information about a transaction requested by transaction hash.StringtTL()The time to live in seconds of a whisper message.StringvALUE()The value sent within a transaction.
-
-
-
Method Detail
-
ethHashrate
public String ethHashrate()
A hexadecimal string representation (32 bytes) of the hash rate. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ETH_HASHRATE.
-
iD
public String iD()
The id. The option is a:Longtype. Group: producer- Returns:
- the name of the header
ID.
-
atBlock
public String atBlock()
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
AT_BLOCK.
-
aDDRESS
public String aDDRESS()
Contract address. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ADDRESS.
-
aDDRESSES
public String aDDRESSES()
Contract address or a list of addresses. The option is a:List<String>type. Group: producer- Returns:
- the name of the header
ADDRESSES.
-
fromAddress
public String fromAddress()
The address the transaction is send from. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
FROM_ADDRESS.
-
toAddress
public String toAddress()
The address the transaction is directed to. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
TO_ADDRESS.
-
pOSITION
public String pOSITION()
The transaction index position withing a block. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
POSITION.
-
blockHash
public String blockHash()
Hash of the block where this transaction was in. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
BLOCK_HASH.
-
transactionHash
public String transactionHash()
The information about a transaction requested by transaction hash. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
TRANSACTION_HASH.
-
sha3HashOfDataToSign
public String sha3HashOfDataToSign()
Message to sign by calculating an Ethereum specific signature. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
SHA3_HASH_OF_DATA_TO_SIGN.
-
signedTransactionData
public String signedTransactionData()
The signed transaction data for a new message call transaction or a contract creation for signed transactions. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
SIGNED_TRANSACTION_DATA.
-
fullTransactionObjects
public String fullTransactionObjects()
If true it returns the full transaction objects, if false only the hashes of the transactions. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
FULL_TRANSACTION_OBJECTS.
-
iNDEX
public String iNDEX()
The transactions/uncle index position in the block. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
INDEX.
-
sourceCode
public String sourceCode()
The source code to compile. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
SOURCE_CODE.
-
filterId
public String filterId()
The filter id to use. The option is a:java.math.BigIntegertype. Group: producer- Returns:
- the name of the header
FILTER_ID.
-
databaseName
public String databaseName()
The local database name. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
DATABASE_NAME.
-
keyName
public String keyName()
The key name in the database. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
KEY_NAME.
-
nONCE
public String nONCE()
The nonce found (64 bits) used for submitting a proof-of-work solution. The option is a:java.math.BigIntegertype. Group: producer- Returns:
- the name of the header
NONCE.
-
headerPowHash
public String headerPowHash()
The header's pow-hash (256 bits) used for submitting a proof-of-work solution. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
HEADER_POW_HASH.
-
mixDigest
public String mixDigest()
The mix digest (256 bits) used for submitting a proof-of-work solution. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
MIX_DIGEST.
-
clientId
public String clientId()
A random hexadecimal(32 bytes) ID identifying the client. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
CLIENT_ID.
-
gasPrice
public String gasPrice()
Gas price used for each paid gas. The option is a:java.math.BigIntegertype. Group: producer- Returns:
- the name of the header
GAS_PRICE.
-
gasLimit
public String gasLimit()
The maximum gas allowed in this block. The option is a:java.math.BigIntegertype. Group: producer- Returns:
- the name of the header
GAS_LIMIT.
-
vALUE
public String vALUE()
The value sent within a transaction. The option is a:java.math.BigIntegertype. Group: producer- Returns:
- the name of the header
VALUE.
-
dATA
public String dATA()
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
DATA.
-
fromBlock
public String fromBlock()
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
FROM_BLOCK.
-
toBlock
public String toBlock()
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
TO_BLOCK.
-
tOPICS
public String tOPICS()
Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma. The option is a:List<String>type. Group: producer- Returns:
- the name of the header
TOPICS.
-
pRIORITY
public String pRIORITY()
The priority of a whisper message. The option is a:java.math.BigIntegertype. Group: producer- Returns:
- the name of the header
PRIORITY.
-
tTL
public String tTL()
The time to live in seconds of a whisper message. The option is a:java.math.BigIntegertype. Group: producer- Returns:
- the name of the header
TTL.
-
privateFor
public String privateFor()
A transaction privateFor nodes with public keys in a Quorum network. The option is a:List<String>type. Group: producer- Returns:
- the name of the header
PRIVATE_FOR.
-
errorCode
public String errorCode()
The error code. The option is a:inttype. Group: producer- Returns:
- the name of the header
ERROR_CODE.
-
errorData
public String errorData()
The error data. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ERROR_DATA.
-
errorMessage
public String errorMessage()
The error message. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ERROR_MESSAGE.
-
status
public String status()
The status of the operation. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
status.
-
operation
public String operation()
The operation. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
operation.
-
-