GitHubAppDocsPlayground
  • Preparing search index...
  • The search index is not available
CCC Docs
  • CCC Docs
  • @ckb-ccc spore
  • index
  • spore
  • meltSpore

Function meltSpore

  • meltSpore(params): Promise<{
        tx: Transaction;
    }>
  • Melt one Spore cell

    Parameters

    • params: {
          signer: ccc.Signer;
          id: BytesLike;
          tx?: TransactionLike;
          scripts?: SporeScriptInfoLike[];
          scriptInfoHash?: BytesLike;
      }
      • signer: ccc.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
    • Defined in spore/src/spore/index.ts:217

Settings

Member Visibility
GitHubAppDocsPlayground
CCC Docs
  • Loading...

Generated using TypeDoc