Skip to content

prepareUpdateTxCapacityExtrinsic

prepareUpdateTxCapacityExtrinsic(spaceUri, new_capacity, creatorUri, signCallback, authorAccount): Promise<SubmittableExtrinsic>

Prepares an update transaction capacity extrinsic for later dispatch to the blockchain.

Parameters

spaceUri: `space:cord:${string}`

The URI of the space to update transaction capacity.

new_capacity: number

The new capacity to be updated.

creatorUri: `did:cord:3${string}`

The DID URI of the creator, used to authorize the transaction.

signCallback: SignExtrinsicCallback

The callback function for signing the transaction.

authorAccount: CordKeyringPair

The blockchain account used for signing and submitting the transaction.

Returns

Promise<SubmittableExtrinsic>

The prepared extrinsic ready for batch signing and submitting.

Source

chain-space/src/ChainSpace.chain.ts:857