CCC Docs
    Preparing search index...
    • Melt one Spore cell

      Parameters

      • params: {
            signer: Signer;
            id: BytesLike;
            tx?: TransactionLike;
            scripts?: SporeScriptInfoLike[];
            scriptInfoHash?: BytesLike;
        }
        • signer: Signer

          who takes the responsibility to balance and sign the transaction

        • id: BytesLike

          sporeId to be melted

        • Optionaltx?: TransactionLike

          the transaction skeleton, if not provided, a new one will be created

        • Optionalscripts?: SporeScriptInfoLike[]
        • OptionalscriptInfoHash?: BytesLike

          the script info hash used in cobuild

      Returns Promise<{ tx: Transaction }>

      • tx: a new transaction that contains melted Spore cell