Show / Hide Table of Contents

Class XChainBridgeType

XChainBridge composite type (type code 25). Serialized as: LockingChainDoor (AccountID) + LockingChainIssue (Issue) + IssuingChainDoor (AccountID) + IssuingChainIssue (Issue)

Inheritance
object
XChainBridgeType
Implements
ISerializedType
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class XChainBridgeType : ISerializedType

Constructors

| Edit this page View Source

XChainBridgeType(AccountId, Issue, AccountId, Issue)

Declaration
public XChainBridgeType(AccountId lockingDoor, Issue lockingIssue, AccountId issuingDoor, Issue issuingIssue)
Parameters
Type Name Description
AccountId lockingDoor
Issue lockingIssue
AccountId issuingDoor
Issue issuingIssue

Fields

| Edit this page View Source

IssuingChainDoor

Declaration
public readonly AccountId IssuingChainDoor
Field Value
Type Description
AccountId
| Edit this page View Source

IssuingChainIssue

Declaration
public readonly Issue IssuingChainIssue
Field Value
Type Description
Issue
| Edit this page View Source

LockingChainDoor

Declaration
public readonly AccountId LockingChainDoor
Field Value
Type Description
AccountId
| Edit this page View Source

LockingChainIssue

Declaration
public readonly Issue LockingChainIssue
Field Value
Type Description
Issue

Methods

| Edit this page View Source

FromJson(JsonNode)

Declaration
public static XChainBridgeType FromJson(JsonNode token)
Parameters
Type Name Description
JsonNode token
Returns
Type Description
XChainBridgeType
| Edit this page View Source

FromParser(BinaryParser, int?)

Declaration
public static XChainBridgeType FromParser(BinaryParser parser, int? hint = null)
Parameters
Type Name Description
BinaryParser parser
int? hint
Returns
Type Description
XChainBridgeType
| Edit this page View Source

ToBytes(IBytesSink)

to bytes Sink

Declaration
public void ToBytes(IBytesSink sink)
Parameters
Type Name Description
IBytesSink sink

bytes Sink container

| Edit this page View Source

ToJson()

Get the JSON representation of this type

Declaration
public JsonNode ToJson()
Returns
Type Description
JsonNode

Implements

ISerializedType

Extension Methods

StExtensions.ToDebuggedHex(ISerializedType)
StExtensions.ToHex(ISerializedType)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX