IbcChannelPacket class

Packet defines a type that carries data across different chains through IBC

Inheritance

Constructors

IbcChannelPacket({BigInt? sequence, String? sourcePort, String? sourceChannel, String? destinationPort, String? destinationChannel, List<int>? data, required IbcClientHeight timeoutHeight, BigInt? timeoutTimestamp})
IbcChannelPacket.deserialize(List<int> bytes)
factory

Properties

data List<int>?
actual opaque bytes transferred directly to the application module
final
destinationChannel String?
identifies the channel end on the receiving chain.
final
destinationPort String?
identifies the port on the receiving chain
final
fieldIds List<int>
List of field IDs corresponding to the values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence BigInt?
number corresponds to the order of sends and receives, where a Packet with an earlier sequence number must be sent and received before a Packet with a later sequence number.
final
sourceChannel String?
identifies the channel end on the sending chain.
final
sourcePort String?
identifies the port on the sending chain.
final
timeoutHeight IbcClientHeight
block height after which the packet times out
final
timeoutTimestamp BigInt?
block timestamp (in nanoseconds) after which the packet times out
final
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
typeUrl String
no setteroverride
values List
List of dynamic values to be encoded.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAny() Any
inherited
toBuffer() List<int>
Converts the protocol buffer data to a byte buffer.
inherited
toJson() Map<String, dynamic>
Converts the data to a JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

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