Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ed_crystal_coin
main
EdCrystalCoin
Block
Transaction
Blockchain
Consensus
ProofOfWork
Built with Crystal 1.9.2
2023-10-07 17:51:51 UTC
class
EdCrystalCoin::Block::Transaction
EdCrystalCoin::Block::Transaction
Reference
Object
Included Modules
JSON::Serializable
Defined in:
ed_crystal_coin/transaction.cr
Constructors
.new
(from : String, to : String, amount : Int64)
.new
(pull : JSON::PullParser)
Instance Method Summary
#amount
: Int64
#from
: String
#to
: String
Constructor Detail
def self.
new
(from : String, to : String, amount : Int64)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
amount
: Int64
#
[
View source
]
def
from
: String
#
[
View source
]
def
to
: String
#
[
View source
]