diff --git a/.changeset/brown-carpets-learn.md b/.changeset/brown-carpets-learn.md new file mode 100644 index 0000000..5186c8c --- /dev/null +++ b/.changeset/brown-carpets-learn.md @@ -0,0 +1,5 @@ +--- +'@spore-sdk/core': patch +--- + +add feerate to createMultipleSpores diff --git a/packages/core/src/api/composed/spore/createSpore.ts b/packages/core/src/api/composed/spore/createSpore.ts index 7384a6c..bd423e0 100644 --- a/packages/core/src/api/composed/spore/createSpore.ts +++ b/packages/core/src/api/composed/spore/createSpore.ts @@ -231,6 +231,7 @@ export async function createMultipleSpores(props: { paymentAmount?: (minPayment: BI, lock: Script, cell: Cell) => BIish; }; maxTransactionSize?: number | false; + feeRate?: BIish | undefined; config?: SporeConfig; }): Promise<{ txSkeleton: helpers.TransactionSkeletonType; @@ -301,6 +302,7 @@ export async function createMultipleSpores(props: { txSkeleton, fromInfos: props.fromInfos, changeAddress: props.changeAddress, + feeRate: props.feeRate, updateTxSkeletonAfterCollection(_txSkeleton) { // Generate and inject SporeID _txSkeleton = injectNewSporeIds({