@fairmint/canton-node-sdk
Version:
Canton Node SDK
24 lines • 809 B
TypeScript
/**
* Create a new buy traffic request to purchase traffic from another validator
*
* @example
* ```typescript
* // Purchase traffic for the current validator
* const request = await client.createBuyTrafficRequest({
* traffic_amount: 1000
* });
*
* // Purchase traffic for a different validator
* const request = await client.createBuyTrafficRequest({
* traffic_amount: 1000,
* receiving_validator_party_id: 'validator::party123...'
* });
* ```;
*/
export declare const CreateBuyTrafficRequest: new (client: import("../../../../../../core").BaseClient) => import("../../../../../../core").ApiOperation<{
traffic_amount: number;
receiving_validator_party_id?: string | undefined;
}, {
request_contract_id: string;
}>;
//# sourceMappingURL=create.d.ts.map