class OnChain::API::ERC20

Defined in:

onchain-shard/api/erc20.cr

Class Method Summary

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


[View source]
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


[View source]