Chain specific fields

Overview of supported blockchains that support contract calls and their chain specific details.

Blockchains:

  1. Ethereum
  2. Polygon (Matic)
  3. Vechain
  4. Neo
  5. Binance Smart Chain
  6. Hedera

🚧

Byte values must be hex-encoded for all blockchains below except for Hedera.

Ethereum

Supported types

address, bool, bytes, bytes1, bytes2, bytes3, bytes4, bytes5, bytes6, bytes7, bytes8, bytes9, bytes10, bytes11, bytes12, bytes13, bytes14, bytes15, bytes16, bytes17, bytes18, bytes19, bytes20, bytes21, bytes22, bytes23, bytes24, bytes25, bytes26, bytes27, bytes28, bytes29, bytes30, bytes31, bytes32, int8, int16, int24, int32, int40, int48, int56, int64, int72, int80, int88, int96, int104, int112, int120, int128, int136, int144, int152, int160, int168, int176, int184, int192, int200, int208, int216, int224, int232, int240, int248, int256, string, uint8, uint16, uint24, uint32, uint40, uint48, uint56, uint64, uint72, uint80, uint88, uint96, uint104, uint112, uint120, uint128, uint136, uint144, uint152, uint160, uint168, uint176, uint184, uint192, uint200, uint208, uint216, uint224, uint232, uint240, uint248, uint256

📘

For arrays, please provide the type from above followed by square braces ( ex: uint256[] ). The values for an array must be surrounded with square brackets and delimited with "," (ex. [1,2,3]).

Chain specific fields

Field nameField valueTypeExample
gasLimitGas limit, will be used for the contract callInteger300000
gasPriceGas price, will be used for the contract call (in WEI)Integer50000000

Polygon (MATIC)

Supported types

address, bool, bytes, bytes1, bytes2, bytes3, bytes4, bytes5, bytes6, bytes7, bytes8, bytes9, bytes10, bytes11, bytes12, bytes13, bytes14, bytes15, bytes16, bytes17, bytes18, bytes19, bytes20, bytes21, bytes22, bytes23, bytes24, bytes25, bytes26, bytes27, bytes28, bytes29, bytes30, bytes31, bytes32, int8, int16, int24, int32, int40, int48, int56, int64, int72, int80, int88, int96, int104, int112, int120, int128, int136, int144, int152, int160, int168, int176, int184, int192, int200, int208, int216, int224, int232, int240, int248, int256, string, uint8, uint16, uint24, uint32, uint40, uint48, uint56, uint64, uint72, uint80, uint88, uint96, uint104, uint112, uint120, uint128, uint136, uint144, uint152, uint160, uint168, uint176, uint184, uint192, uint200, uint208, uint216, uint224, uint232, uint240, uint248, uint256

📘

For arrays, please provide the type from above followed by square braces ( ex: uint256[] ). The values for an array must be surrounded with square brackets and delimited with "," (ex. [1,2,3]).

Chain specific fields

Field nameField valueTypeExample
gasLimitGas limit, will be used for the contract callInteger300000
gasPriceGas price, will be used for the contract call (in WEI)Integer50000000

Vechain

Supported types

address, bool, bytes, bytes1, bytes2, bytes3, bytes4, bytes5, bytes6, bytes7, bytes8, bytes9, bytes10, bytes11, bytes12, bytes13, bytes14, bytes15, bytes16, bytes17, bytes18, bytes19, bytes20, bytes21, bytes22, bytes23, bytes24, bytes25, bytes26, bytes27, bytes28, bytes29, bytes30, bytes31, bytes32, int8, int16, int24, int32, int40, int48, int56, int64, int72, int80, int88, int96, int104, int112, int120, int128, int136, int144, int152, int160, int168, int176, int184, int192, int200, int208, int216, int224, int232, int240, int248, int256, string, uint8, uint16, uint24, uint32, uint40, uint48, uint56, uint64, uint72, uint80, uint88, uint96, uint104, uint112, uint120, uint128, uint136, uint144, uint152, uint160, uint168, uint176, uint184, uint192, uint200, uint208, uint216, uint224, uint232, uint240, uint248, uint256

📘

For arrays, please provide the type from above followed by square braces ( ex: uint256[] ). The values for an array must be surrounded with square brackets and delimited with "," (ex. [1,2,3]).

Chain specific fields

Field nameField valueTypeExample
gasLimitGas limit, will be used for the contract callInteger300000
gasPriceCoefGas price coefficient, will be used for the contract callInteger0

Neo

Supported types

Signature, Boolean, Integer, Hash160, Hash256, ByteArray, Address, PublicKey, String

📘

For arrays, please provide the type from above followed by square braces ( ex: String[] ). The values for an array must be surrounded with square brackets and delimited with "," (ex. [1,2,3]).

Chain specific fields

Field nameField valueTypeExample
networkFeeNetwork fee used for the contract call. By default, 0.1 is usedNumber0.1
systemFeeSystem fee used for the contract callNumber0.1
outputsIt is possible to add additional asset transfers together with a contract call by attaching additional outputs. This is a JSON object containing "to", "amount" and "assetId" with json types respectively string, number and string. If "to" is a script hash, it will be translated to a valid NEO addressJSON{ "to": "AKJrLM5Q…​", "amount": 1, "assetId": "602c79718…​" }

Binance Smart Chain

Supported types

address, bool, bytes, bytes1, bytes2, bytes3, bytes4, bytes5, bytes6, bytes7, bytes8, bytes9, bytes10, bytes11, bytes12, bytes13, bytes14, bytes15, bytes16, bytes17, bytes18, bytes19, bytes20, bytes21, bytes22, bytes23, bytes24, bytes25, bytes26, bytes27, bytes28, bytes29, bytes30, bytes31, bytes32, int8, int16, int24, int32, int40, int48, int56, int64, int72, int80, int88, int96, int104, int112, int120, int128, int136, int144, int152, int160, int168, int176, int184, int192, int200, int208, int216, int224, int232, int240, int248, int256, string, uint8, uint16, uint24, uint32, uint40, uint48, uint56, uint64, uint72, uint80, uint88, uint96, uint104, uint112, uint120, uint128, uint136, uint144, uint152, uint160, uint168, uint176, uint184, uint192, uint200, uint208, uint216, uint224, uint232, uint240, uint248, uint256

📘

For arrays, please provide the type from above followed by square braces ( ex: uint256[] ). The values for an array must be surrounded with square brackets and delimited with "," (ex. [1,2,3]).

Chain specific fields

Field nameField valueTypeExample
gasLimitGas limit, will be used for the contract callInteger300000
gasPriceGas price, will be used for the contract call (in WEI)Integer20000000

Hedera

When executing Hedera transaction you can specify a memo by using a chain specific field

Field nameField valueTypeExample
transactionMemoA memo that can be used with a transactionString"0.0.2810009"

Resources

📘