Subscription
Static Method Summary
Static Public Methods | ||
public static |
fromAddresses(addresses: Array<Address>): * |
|
public static |
fromMinFeePerByte(minFeePerByte: number): * |
|
public static |
unserialize(buf: SerialBuffer): Subscription |
Constructor Summary
Public Constructor | ||
public |
constructor(type: Subscription.Type, filter: Array<Address> | number) |
Member Summary
Public Members | ||
public get |
|
|
public get |
minFeePerByte: number |
|
public get |
serializedSize: number |
|
public get |
type: Subscription.Type |
Method Summary
Public Methods | ||
public |
isSubsetOf(other: Subscription): boolean |
|
public |
matchesBlock(block: Block): boolean |
|
public |
matchesTransaction(transaction: Transaction): boolean |
|
public |
serialize(buf: SerialBuffer): SerialBuffer |
|
public |
toString(): string |
Static Public Methods
public static fromAddresses(addresses: Array<Address>): * source
Params:
Name | Type | Attribute | Description |
addresses | Array<Address> |
Return:
* |
public static fromMinFeePerByte(minFeePerByte: number): * source
Params:
Name | Type | Attribute | Description |
minFeePerByte | number |
Return:
* |
public static unserialize(buf: SerialBuffer): Subscription source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer |
Public Constructors
Public Members
public get minFeePerByte: number source
public get serializedSize: number source
public get type: Subscription.Type source
Public Methods
public isSubsetOf(other: Subscription): boolean source
Params:
Name | Type | Attribute | Description |
other | Subscription |
Return:
boolean |
public matchesBlock(block: Block): boolean source
Params:
Name | Type | Attribute | Description |
block | Block |
Return:
boolean |
public matchesTransaction(transaction: Transaction): boolean source
Params:
Name | Type | Attribute | Description |
transaction | Transaction |
Return:
boolean |
public serialize(buf: SerialBuffer): SerialBuffer source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer |
|