for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Carpenstar\ByBitAPI\Spot\LeverageToken\PurchaseRedeemHistory;
use Carpenstar\ByBitAPI\Core\Endpoints\PrivateEndpoint;
use Carpenstar\ByBitAPI\Core\Interfaces\IGetEndpointInterface;
use Carpenstar\ByBitAPI\Spot\LeverageToken\PurchaseRedeemHistory\Request\PurchaseRedeemHistoryRequest;
use Carpenstar\ByBitAPI\Spot\LeverageToken\PurchaseRedeemHistory\Response\PurchaseRedeemHistoryResponse;
class PurchaseRedeemHistory extends PrivateEndpoint implements IGetEndpointInterface
{
protected function getEndpointUrl(): string
return "/spot/v3/private/record";
}
protected function getResponseClassname(): string
return PurchaseRedeemHistoryResponse::class;
protected function getRequestClassname(): string
return PurchaseRedeemHistoryRequest::class;