class Transaction

Defined in:

sequin.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(from_address : Nil | String, to_address : String, amount : Int32) #

[View source]

Instance Method Detail

def amount : Int32 #

[View source]
def amount=(amount : Int32) #

[View source]
def calculate_hash #

[View source]
def from_address : String | Nil #

[View source]
def from_address=(from_address : String | Nil) #

[View source]
def is_valid #

[View source]
def sign_transaction(signing_key) #

[View source]
def to_address : String #

[View source]
def to_address=(to_address : String) #

[View source]