BroadcastMode class

BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value 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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromValue(int? value) BroadcastMode

Constants

async → const BroadcastMode
BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately.
block → const BroadcastMode
Deprecated: use BROADCAST_MODE_SYNC instead, BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
sync → const BroadcastMode
BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only.
unspecified → const BroadcastMode
zero-value for mode ordering
values → const List<BroadcastMode>