Last updated
Edit

XChainCreateClaimID

[Source]

(Requires the XChainBridge amendment )

The XChainCreateClaimID transaction creates a new cross-chain claim ID that is used for a cross-chain transfer. A cross-chain claim ID represents one cross-chain transfer of value.

This transaction is the first step of a cross-chain transfer of value and is submitted on the destination chain, not the source chain.

It also includes the account on the source chain that locks or burns the funds on the source chain.

Example XChainCreateClaimID JSON

{
  "Account": "rahDmoXrtPdh7sUdrPjini3gcnTVYjbjjw",
  "OtherChainSource": "rMTi57fNy2UkUb4RcdoUeJm7gjxVQvxzUo",
  "TransactionType": "XChainCreateClaimID",
  "SignatureReward": "100",
  "XChainBridge": {
    "LockingChainDoor": "rMAXACCrp3Y8PpswXcg3bKggHX76V3F8M4",
    "LockingChainIssue": {
      "currency": "XRP"
    },
    "IssuingChainDoor": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
    "IssuingChainIssue": {
      "currency": "XRP"
    }
  }
}

XChainCreateClaimID Fields

FieldJSON TypeInternal TypeRequired?Description
OtherChainSourceStringAccountYesThe account that must send the XChainCommit transaction on the source chain.
SignatureRewardStringAccountYesThe amount, in XRP, to reward the witness servers for providing signatures. This must match the amount on the Bridge ledger object.
XChainBridgeXChainBridgeXChain_BridgeYesThe bridge to create the claim ID for.

XChainBridge Fields

FieldJSON TypeInternal TypeRequired?Description
IssuingChainDoorStringAccountYesThe door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP).
IssuingChainIssueIssueIssueYesThe asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues.
LockingChainDoorStringAccountYesThe door account on the locking chain.
LockingChainIssueIssueIssueYesThe asset that is locked and unlocked on the locking chain.