The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Async::Blockchain::Transaction - Transaction abstraction.

SYNOPSIS

Objects of this type would not normally be constructed directly.

DESCRIPTION

Transaction abstraction

new

Create a new Net::Async::Blockchain::Transaction instance

  • message_type Message Type (Default: transaction) =item * currency Currency symbol =item * hash Transaction hash =item * block Block where the transaction is included =item * from Transaction sender =item * to Transaction receiver =item * contract Contract address (when it's a contract transaction) =item * amount The transaction value =item * fee The transaction value =item * fee_currency The currency of the fee paid for this transaction =item * type String transaction type it can be (receive, sent, internal) =item * data contract instructions =item * property_id omnicore property id =item * timestamp block timestamp

Net::Async::Blockchain::Transaction

clone

Clone the self object and the attribute values

new Net::Async::Blockchain::Transaction based on self