Function createWithdrawShipsInstruction

  • Withdraw Ships from Escrow

    Parameters

    • connection: Connection

      web3.Connection object

    • playerPublicKey: PublicKey

      Player's public key

    • shipMint: PublicKey

      Ship mint address

    • atlasMint: PublicKey

      ATLAS token mint

    • toolkitMint: PublicKey

      Toolkit resource mint address

    • programId: PublicKey

      Deployed program ID for the SCORE program

    Returns Promise<FactoryReturn>