createDataSetWithMetadataCapture
createDataSetWithMetadataCapture(
txHash,captureCallback,options):HttpHandler
Defined in: packages/synapse-core/src/mocks/pdp.ts:286
Creates a handler that captures metadata from createDataSet requests
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
txHash | `0x${string}` | Transaction hash to return in Location header |
captureCallback | (metadata) => void | Callback to store captured metadata |
options | PDPMockOptions | Additional options |
Returns
Section titled “Returns”HttpHandler