TxScriptPubKey class
scriptPubKey: {
asm: OP_DUP OP_HASH160 713c2fa8992630a215bc6668822b0acfbc90ead9 OP_EQUALVERIFY OP_CHECKSIG,
hex: 76a914713c2fa8992630a215bc6668822b0acfbc90ead988ac,
reqSigs: 1,
type: pubkeyhash,
addresses: mqqgkYDUkLRLMPvHKhDSjyuwyeNqZhfzVc}
scriptPubKey: {
asm: OP_RETURN aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9,
hex: 6a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9,
type: nulldata},
scriptPubKey: {
asm: OP_DUP OP_HASH160 663b0d46fde6e386f78f12d864a226c7b8050992 OP_EQUALVERIFY OP_CHECKSIG OP_RVN_ASSET 1f72766e7412504f524b5950554e582f41495244524f503200e1f5050000000075,
hex: 76a914663b0d46fde6e386f78f12d864a226c7b805099288acc01f72766e7412504f524b5950554e582f41495244524f503200e1f5050000000075,
reqSigs: 1,
type: transfer_asset,
asset: {
name: PORKYPUNX/AIRDROP2,
amount: 1},
addresses: RJbjk5VTNxBER4iBq61upUWhHuEeYBHD1J},
scriptPubKey:{
asm: OP_DUP OP_HASH160 0a6e44c0b7a5da84c38ed2900c6b6ce3b8c2e27a OP_EQUALVERIFY OP_CHECKSIG OP_RVN_ASSET 3872766e74094d4f4f4e5452454531804a5d05000000001220da203afd5eda1f45deeafb70ae9d5c15907cd32ec2cd747c641fc1e9ab55b8e875,
hex: 76a9140a6e44c0b7a5da84c38ed2900c6b6ce3b8c2e27a88acc03872766e74094d4f4f4e5452454531804a5d05000000001220da203afd5eda1f45deeafb70ae9d5c15907cd32ec2cd747c641fc1e9ab55b8e875,
reqSigs:1,
type: transfer_asset,
asset:{
name: MOONTREE1,
amount: 0.9,
message: Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u}, // "assetMemo"
addresses:mgU79ZpEeoGbgQi46qp2LY2kSa8XSe6sV8}
scriptPubKey: {
asm: OP_DUP OP_HASH160 f7addfa2061fb7752a81b7fbb1de409b62efcb63 OP_EQUALVERIFY OP_CHECKSIG OP_RVN_ASSET 4472766e7112504f524b5950554e582f41495244524f50320001b2c4000000000000011220c48f7efaf0a05d4145f17d95f02858aa7f5fc4e2100bbc6bb666ea07f6a50ce575,
hex: 76a914f7addfa2061fb7752a81b7fbb1de409b62efcb6388acc04472766e7112504f524b5950554e582f41495244524f50320001b2c4000000000000011220c48f7efaf0a05d4145f17d95f02858aa7f5fc4e2100bbc6bb666ea07f6a50ce575,
reqSigs: 1,
type: new_asset,
asset: {
name: PORKYPUNX/AIRDROP2,
amount: 33,
units: 0,
reissuable: 0,
ipfs_hash: QmbZwXWkqq2gPLX26EH5Gr7qeoZNjYFzYw8E6y5WXHBj2t},
addresses: RXroGqyy9yq7kEKztP4RZWgQrXzmUzMxAL},
Constructors
-
TxScriptPubKey({required String asm, required String hex, required String type, int? reqSigs, List<
String> ? addresses, String? asset, double amount = 0.0, int? units, int? reissuable, String? assetMemo, String? ipfsHash}) - TxScriptPubKey.fromScriptPubKey(Map scriptPubKey)
-
factory
- TxScriptPubKey.fromScriptPubKeyCoinbase(Map scriptPubKey)
-
factory
- TxScriptPubKey.fromScriptPubKeyNewAsset(Map scriptPubKey)
-
factory
- TxScriptPubKey.fromScriptPubKeyTransaction(Map scriptPubKey)
-
factory
Properties
-
addresses
→ List<
String> ? -
final
- amount → double
-
final
- asm → String
-
final
- asset → String?
-
final
-
assetData
→ Map<
String, dynamic> -
not used - getMeta is used in preference to this
no setter
- assetMemo → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hex → String
-
final
- ipfsHash → String?
-
final
- memo → String?
-
no setter
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- reissuable → int?
-
final
- reqSigs → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited - type → String
-
final
- units → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited