Import
Import is a new transaction which accepts an XPOP from the XRPL Mainnet chain (network_id=0) or Testnet (network_id=1) and provides account synchronisation.
Last updated
Import is a new transaction which accepts an XPOP from the XRPL Mainnet chain (network_id=0) or Testnet (network_id=1) and provides account synchronisation.
Last updated
[Source]
(Added by the [Import amendment][].)
Field | JSON Type | [Internal Type][] | Description |
---|---|---|---|
If the account is Non Activated then the Sequence
must be 0 and the Fee
must also be 0
If the account is Activated then the Sequence
and the Fee
are calculated the standard method.
If the Issuer
field is present then the Fee
must be calculated using the standard method.
It is recommended that if you use a SignersList
or RegularKey
to sign your transactions that you key your accounts FIRST before attempting to B2M XAH_._
If the inner (xpop) transaction is AccountSet
the mainet existing flags will be transfered to the new network.
If the inner (xpop) transaction is SetRegularKey
with the RegularKey
field omitted or empty, and a signers list does not exist for the account then the lsfDisableMaster
flag will be set on the account.
If the inner (xpop) transaction is SetRegularKey
then the lsfPasswordSpent
flag will be set on the account.
TicketSequence is not available on Import
For issuers, there are additional steps to follow before their asset holders can import transactions.
Firstly, issuers need to install a hook. There are two options for this: B2MNFToken
or B2MPayment
.
A NFTokenBurn
transaction on mainnet will result in a URITokenMint
transaction on the network.
c hook: https://example.com
A Payment
transaction on mainnet to the Issuer will result in a Payment
transaction from the Issuer on the network.
c hook: https://example.com
Please note that the process of importing for the issuer involves specific transaction types and requires careful configuration. Always ensure that the hooks are correctly set up and that the transactions are valid for the intended operations.
Blob
String
Blob
Hex value representing an XPOP
Issuer
String
AccountID
(Optional) Address that can be used inside the Hook.
Destination
String
AccountID
(Optional) Address that can be used inside the Hook.