Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TransferNftForeign<Signer, RawNft, Resp>

Transfer NFT to a foreign chain, freezing the original one

param sender

Account which owns the NFT on the native chain, able to sign transactions

param chain_nonce

Nonce of the target chain

param to

Address of the receiver on the foreign chain

param id

Information required to freeze this nft

returns

Transaction and the Identifier of this action to track the status

Type Parameters

  • Signer

  • RawNft

  • Resp

Hierarchy

  • TransferNftForeign

Index

Methods

  • transferNftToForeign(sender: Signer, chain_nonce: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45, to: string, id: NftInfo<RawNft>, txFees: BigNumber, mintWith: string, gasLimit?: BigNumberish, gasPrice?: BigNumberish, toParams?: any): Promise<undefined | Resp>
  • Parameters

    • sender: Signer
    • chain_nonce: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45
    • to: string
    • id: NftInfo<RawNft>
    • txFees: BigNumber
    • mintWith: string
    • Optional gasLimit: BigNumberish
    • Optional gasPrice: BigNumberish
    • Optional toParams: any

    Returns Promise<undefined | Resp>

Generated using TypeDoc