class OnChain::API::ERC20
- OnChain::API::ERC20
- Reference
- Object
Defined in:
onchain-shard/api/erc20.crClass Method Summary
-
.create(to : String, from : String, amount : UInt64, contract_id : String, decimal_places : UInt64, gas_price : UInt64 | Nil = nil, gas_limit : UInt64 | Nil = nil) : EthereumToSign | ErrorMessage
/erc20/create/ Create
-
.sign_and_send(to : String, from : String, amount : UInt64, contract_id : String, decimal_places : UInt64, r : String, s : String, v : String, gas_price : UInt64 | Nil = nil, gas_limit : UInt64 | Nil = nil) : SendStatus | ErrorMessage
/erc20/sign_and_send/ Sign and send
Class Method Detail
def self.create(to : String, from : String, amount : UInt64, contract_id : String, decimal_places : UInt64, gas_price : UInt64 | Nil = nil, gas_limit : UInt64 | Nil = nil) : EthereumToSign | ErrorMessage
#
/erc20/create/ Create
def self.sign_and_send(to : String, from : String, amount : UInt64, contract_id : String, decimal_places : UInt64, r : String, s : String, v : String, gas_price : UInt64 | Nil = nil, gas_limit : UInt64 | Nil = nil) : SendStatus | ErrorMessage
#
/erc20/sign_and_send/ Sign and send