@fairmint/canton-node-sdk
Version:
Canton Node SDK
21 lines • 759 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WithdrawTransferOffer = void 0;
const core_1 = require("../../../../../../core");
const operations_1 = require("../../../../schemas/operations");
/**
* Withdraw a transfer offer by contract ID
*
* @example
* ```typescript
* const result = await client.withdrawTransferOffer({ contractId: 'contract123' });
*
* ```;
*/
exports.WithdrawTransferOffer = (0, core_1.createApiOperation)({
paramsSchema: operations_1.WithdrawTransferOfferParamsSchema,
method: 'POST',
buildUrl: (params, apiUrl) => `${apiUrl}/api/validator/v0/wallet/transfer-offers/${params.contractId}/withdraw`,
buildRequestData: () => ({}),
});
//# sourceMappingURL=withdraw.js.map