|
24 | 24 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeRiskScoreResponse; |
25 | 25 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeTransactionsListRequest; |
26 | 26 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeTransactionsListResponse; |
| 27 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeWeb3AddressLabelsRequest; |
| 28 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeWeb3AddressLabelsResponse; |
| 29 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeWeb3RiskScoreRequest; |
| 30 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeWeb3RiskScoreResponse; |
| 31 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeWeb3TransactionLabelsRequest; |
| 32 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DescribeWeb3TransactionLabelsResponse; |
27 | 33 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DocOcrRequest; |
28 | 34 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\DocOcrResponse; |
29 | 35 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\EkycVerifyRequest; |
@@ -560,6 +566,159 @@ public function describeTransactionsList($request) |
560 | 566 | return $this->describeTransactionsListWithOptions($request, $runtime); |
561 | 567 | } |
562 | 568 |
|
| 569 | + /** |
| 570 | + * @param DescribeWeb3AddressLabelsRequest $request |
| 571 | + * @param RuntimeOptions $runtime |
| 572 | + * |
| 573 | + * @return DescribeWeb3AddressLabelsResponse |
| 574 | + */ |
| 575 | + public function describeWeb3AddressLabelsWithOptions($request, $runtime) |
| 576 | + { |
| 577 | + Utils::validateModel($request); |
| 578 | + $query = []; |
| 579 | + if (!Utils::isUnset($request->address)) { |
| 580 | + $query['Address'] = $request->address; |
| 581 | + } |
| 582 | + if (!Utils::isUnset($request->chainShortName)) { |
| 583 | + $query['ChainShortName'] = $request->chainShortName; |
| 584 | + } |
| 585 | + if (!Utils::isUnset($request->merchantBizId)) { |
| 586 | + $query['MerchantBizId'] = $request->merchantBizId; |
| 587 | + } |
| 588 | + $req = new OpenApiRequest([ |
| 589 | + 'query' => OpenApiUtilClient::query($query), |
| 590 | + ]); |
| 591 | + $params = new Params([ |
| 592 | + 'action' => 'DescribeWeb3AddressLabels', |
| 593 | + 'version' => '2022-08-09', |
| 594 | + 'protocol' => 'HTTPS', |
| 595 | + 'pathname' => '/', |
| 596 | + 'method' => 'POST', |
| 597 | + 'authType' => 'AK', |
| 598 | + 'style' => 'RPC', |
| 599 | + 'reqBodyType' => 'formData', |
| 600 | + 'bodyType' => 'json', |
| 601 | + ]); |
| 602 | + |
| 603 | + return DescribeWeb3AddressLabelsResponse::fromMap($this->callApi($params, $req, $runtime)); |
| 604 | + } |
| 605 | + |
| 606 | + /** |
| 607 | + * @param DescribeWeb3AddressLabelsRequest $request |
| 608 | + * |
| 609 | + * @return DescribeWeb3AddressLabelsResponse |
| 610 | + */ |
| 611 | + public function describeWeb3AddressLabels($request) |
| 612 | + { |
| 613 | + $runtime = new RuntimeOptions([]); |
| 614 | + |
| 615 | + return $this->describeWeb3AddressLabelsWithOptions($request, $runtime); |
| 616 | + } |
| 617 | + |
| 618 | + /** |
| 619 | + * @param DescribeWeb3RiskScoreRequest $request |
| 620 | + * @param RuntimeOptions $runtime |
| 621 | + * |
| 622 | + * @return DescribeWeb3RiskScoreResponse |
| 623 | + */ |
| 624 | + public function describeWeb3RiskScoreWithOptions($request, $runtime) |
| 625 | + { |
| 626 | + Utils::validateModel($request); |
| 627 | + $query = []; |
| 628 | + if (!Utils::isUnset($request->chainShortName)) { |
| 629 | + $query['ChainShortName'] = $request->chainShortName; |
| 630 | + } |
| 631 | + if (!Utils::isUnset($request->depth)) { |
| 632 | + $query['Depth'] = $request->depth; |
| 633 | + } |
| 634 | + if (!Utils::isUnset($request->merchantBizId)) { |
| 635 | + $query['MerchantBizId'] = $request->merchantBizId; |
| 636 | + } |
| 637 | + if (!Utils::isUnset($request->objectId)) { |
| 638 | + $query['ObjectId'] = $request->objectId; |
| 639 | + } |
| 640 | + if (!Utils::isUnset($request->objectType)) { |
| 641 | + $query['ObjectType'] = $request->objectType; |
| 642 | + } |
| 643 | + $req = new OpenApiRequest([ |
| 644 | + 'query' => OpenApiUtilClient::query($query), |
| 645 | + ]); |
| 646 | + $params = new Params([ |
| 647 | + 'action' => 'DescribeWeb3RiskScore', |
| 648 | + 'version' => '2022-08-09', |
| 649 | + 'protocol' => 'HTTPS', |
| 650 | + 'pathname' => '/', |
| 651 | + 'method' => 'POST', |
| 652 | + 'authType' => 'AK', |
| 653 | + 'style' => 'RPC', |
| 654 | + 'reqBodyType' => 'formData', |
| 655 | + 'bodyType' => 'json', |
| 656 | + ]); |
| 657 | + |
| 658 | + return DescribeWeb3RiskScoreResponse::fromMap($this->callApi($params, $req, $runtime)); |
| 659 | + } |
| 660 | + |
| 661 | + /** |
| 662 | + * @param DescribeWeb3RiskScoreRequest $request |
| 663 | + * |
| 664 | + * @return DescribeWeb3RiskScoreResponse |
| 665 | + */ |
| 666 | + public function describeWeb3RiskScore($request) |
| 667 | + { |
| 668 | + $runtime = new RuntimeOptions([]); |
| 669 | + |
| 670 | + return $this->describeWeb3RiskScoreWithOptions($request, $runtime); |
| 671 | + } |
| 672 | + |
| 673 | + /** |
| 674 | + * @param DescribeWeb3TransactionLabelsRequest $request |
| 675 | + * @param RuntimeOptions $runtime |
| 676 | + * |
| 677 | + * @return DescribeWeb3TransactionLabelsResponse |
| 678 | + */ |
| 679 | + public function describeWeb3TransactionLabelsWithOptions($request, $runtime) |
| 680 | + { |
| 681 | + Utils::validateModel($request); |
| 682 | + $query = []; |
| 683 | + if (!Utils::isUnset($request->chainShortName)) { |
| 684 | + $query['ChainShortName'] = $request->chainShortName; |
| 685 | + } |
| 686 | + if (!Utils::isUnset($request->merchantBizId)) { |
| 687 | + $query['MerchantBizId'] = $request->merchantBizId; |
| 688 | + } |
| 689 | + if (!Utils::isUnset($request->transaction)) { |
| 690 | + $query['Transaction'] = $request->transaction; |
| 691 | + } |
| 692 | + $req = new OpenApiRequest([ |
| 693 | + 'query' => OpenApiUtilClient::query($query), |
| 694 | + ]); |
| 695 | + $params = new Params([ |
| 696 | + 'action' => 'DescribeWeb3TransactionLabels', |
| 697 | + 'version' => '2022-08-09', |
| 698 | + 'protocol' => 'HTTPS', |
| 699 | + 'pathname' => '/', |
| 700 | + 'method' => 'POST', |
| 701 | + 'authType' => 'AK', |
| 702 | + 'style' => 'RPC', |
| 703 | + 'reqBodyType' => 'formData', |
| 704 | + 'bodyType' => 'json', |
| 705 | + ]); |
| 706 | + |
| 707 | + return DescribeWeb3TransactionLabelsResponse::fromMap($this->callApi($params, $req, $runtime)); |
| 708 | + } |
| 709 | + |
| 710 | + /** |
| 711 | + * @param DescribeWeb3TransactionLabelsRequest $request |
| 712 | + * |
| 713 | + * @return DescribeWeb3TransactionLabelsResponse |
| 714 | + */ |
| 715 | + public function describeWeb3TransactionLabels($request) |
| 716 | + { |
| 717 | + $runtime = new RuntimeOptions([]); |
| 718 | + |
| 719 | + return $this->describeWeb3TransactionLabelsWithOptions($request, $runtime); |
| 720 | + } |
| 721 | + |
563 | 722 | /** |
564 | 723 | * @param DocOcrRequest $request |
565 | 724 | * @param RuntimeOptions $runtime |
|
0 commit comments