Ethereum Common Messages

ethereum_common/Address.msg

FieldTypeDescription
addressstd_msgs/StringAddress in Ethereum blockchain

ethereum_common/UInt256.msg

FieldTypeDescription
uint256std_msgs/StringA wrapper for big integers

ethereum_common/TransferEvent.msg

FieldTypeDescription
args_fromethereum_common/AddressSender address
args_toethereum_common/AddressReceiver address
args_valueethereum_common/UInt256Amount of tokens

ethereum_common/ApprovalEvent.msg

FieldTypeDescription
args_ownerethereum_common/AddressOwner address
args_spenderethereum_common/AddressSpender address
args_valueethereum_common/UInt256Amount of tokens

ethereum_common/AccountBalance.srv

Request

FieldTypeDescription
accountethereum_common/AddressEthereum address

Response

FieldTypeDescription
balanceethereum_common/UInt256Balance in Wei

ethereum_common/AccountToAddressAllowance.srv

Request

FieldTypeDescription
accountethereum_common/AddressEthereum address
toethereum_common/AddressEthereum address

Response

FieldTypeDescription
amountethereum_common/UInt256Balance in Wn

ethereum_common/Accounts.srv

Request

Request is empty

Response

FieldTypeDescription
accountsethereum_common/Address[]List of available accounts

ethereum_common/Allowance.srv

Request

Request is empty

Response

FieldTypeDescription
amountethereum_common/UInt256Amount of XRT the Factory is allowed to spend

ethereum_common/Approve.srv

Request

FieldTypeDescription
spenderethereum_common/AddressWho is allowed to spend
valueethereum_common/UInt256How much tokens are allowed

Response

FieldTypeDescription
txhashstd_msgs/Uint8[32]Transaction hash

ethereum_common/Balance.srv

Request

Request is empty

Response

FieldTypeDescription
balanceethereum_common/UInt256The balance of default account

ethereum_common/BlockNumber.srv

Request

Request is empty

Response

FieldTypeDescription
numberstd_msgs/Uint64Current block number

ethereum_common/Transfer.srv

Request

FieldTypeDescription
toethereum_common/AddressEthereum address
valueethereum_common/UInt256The amount of tokens

Response

FieldTypeDescription
txhashstd_msgs/Uint8[32]Transaction hash

ethereum_common/TransferFrom.srv

Request

FieldTypeDescription
ownerethereum_common/AddressOwner's address
toethereum_common/AddressAnother account
valueethereum_common/UInt256The amount of tokens

Response

FieldTypeDescription
txhashstd_msgs/Uint8[32]Transaction hash