@imtbl/sdk 0.36.2 → 0.36.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3401,7 +3401,7 @@ interface TokensApiListERC20TokensRequest {
3401
3401
  * @export
3402
3402
  * @interface GetActivityRequest
3403
3403
  */
3404
- interface GetActivityRequest {
3404
+ interface GetActivityRequestParams {
3405
3405
  /**
3406
3406
  * The name of chain
3407
3407
  * @type {string}
@@ -3420,7 +3420,7 @@ interface GetActivityRequest {
3420
3420
  * @export
3421
3421
  * @interface ListActivitiesRequest
3422
3422
  */
3423
- interface ListActivitiesRequest {
3423
+ interface ListActivitiesRequestParams {
3424
3424
  /**
3425
3425
  * The name of chain
3426
3426
  * @type {string}
@@ -3475,7 +3475,7 @@ interface ListActivitiesRequest {
3475
3475
  * @export
3476
3476
  * @interface ListActivityHistoryRequest
3477
3477
  */
3478
- interface ListActivityHistoryRequest {
3478
+ interface ListActivityHistoryRequestParams {
3479
3479
  /**
3480
3480
  * The name of chain
3481
3481
  * @type {string}
@@ -3517,22 +3517,22 @@ interface ListActivityHistoryRequest {
3517
3517
  type activitiesApiTypes_d_APIError400 = APIError400;
3518
3518
  type activitiesApiTypes_d_APIError404 = APIError404;
3519
3519
  type activitiesApiTypes_d_APIError500 = APIError500;
3520
- type activitiesApiTypes_d_GetActivityRequest = GetActivityRequest;
3520
+ type activitiesApiTypes_d_GetActivityRequestParams = GetActivityRequestParams;
3521
3521
  type activitiesApiTypes_d_GetActivityResult = GetActivityResult;
3522
- type activitiesApiTypes_d_ListActivitiesRequest = ListActivitiesRequest;
3522
+ type activitiesApiTypes_d_ListActivitiesRequestParams = ListActivitiesRequestParams;
3523
3523
  type activitiesApiTypes_d_ListActivitiesResult = ListActivitiesResult;
3524
- type activitiesApiTypes_d_ListActivityHistoryRequest = ListActivityHistoryRequest;
3524
+ type activitiesApiTypes_d_ListActivityHistoryRequestParams = ListActivityHistoryRequestParams;
3525
3525
  declare namespace activitiesApiTypes_d {
3526
3526
  export {
3527
3527
  activitiesApiTypes_d_APIError400 as APIError400,
3528
3528
  activitiesApiTypes_d_APIError404 as APIError404,
3529
3529
  activitiesApiTypes_d_APIError500 as APIError500,
3530
3530
  ActivityType$1 as ActivityType,
3531
- activitiesApiTypes_d_GetActivityRequest as GetActivityRequest,
3531
+ activitiesApiTypes_d_GetActivityRequestParams as GetActivityRequestParams,
3532
3532
  activitiesApiTypes_d_GetActivityResult as GetActivityResult,
3533
- activitiesApiTypes_d_ListActivitiesRequest as ListActivitiesRequest,
3533
+ activitiesApiTypes_d_ListActivitiesRequestParams as ListActivitiesRequestParams,
3534
3534
  activitiesApiTypes_d_ListActivitiesResult as ListActivitiesResult,
3535
- activitiesApiTypes_d_ListActivityHistoryRequest as ListActivityHistoryRequest,
3535
+ activitiesApiTypes_d_ListActivityHistoryRequestParams as ListActivityHistoryRequestParams,
3536
3536
  };
3537
3537
  }
3538
3538
 
@@ -3553,7 +3553,7 @@ declare namespace activitiesApiTypes_d {
3553
3553
  * @export
3554
3554
  * @interface ListChainsRequest
3555
3555
  */
3556
- interface ListChainsRequest {
3556
+ interface ListChainsRequestParams {
3557
3557
  /**
3558
3558
  * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3559
3559
  * @type {string}
@@ -3571,14 +3571,14 @@ interface ListChainsRequest {
3571
3571
  type chainsApiTypes_d_APIError400 = APIError400;
3572
3572
  type chainsApiTypes_d_APIError404 = APIError404;
3573
3573
  type chainsApiTypes_d_APIError500 = APIError500;
3574
- type chainsApiTypes_d_ListChainsRequest = ListChainsRequest;
3574
+ type chainsApiTypes_d_ListChainsRequestParams = ListChainsRequestParams;
3575
3575
  type chainsApiTypes_d_ListChainsResult = ListChainsResult;
3576
3576
  declare namespace chainsApiTypes_d {
3577
3577
  export {
3578
3578
  chainsApiTypes_d_APIError400 as APIError400,
3579
3579
  chainsApiTypes_d_APIError404 as APIError404,
3580
3580
  chainsApiTypes_d_APIError500 as APIError500,
3581
- chainsApiTypes_d_ListChainsRequest as ListChainsRequest,
3581
+ chainsApiTypes_d_ListChainsRequestParams as ListChainsRequestParams,
3582
3582
  chainsApiTypes_d_ListChainsResult as ListChainsResult,
3583
3583
  };
3584
3584
  }
@@ -3600,7 +3600,7 @@ declare namespace chainsApiTypes_d {
3600
3600
  * @export
3601
3601
  * @interface GetCollectionRequest
3602
3602
  */
3603
- interface GetCollectionRequest {
3603
+ interface GetCollectionRequestParams {
3604
3604
  /**
3605
3605
  * The address contract
3606
3606
  * @type {string}
@@ -3619,7 +3619,7 @@ interface GetCollectionRequest {
3619
3619
  * @export
3620
3620
  * @interface ListCollectionsRequest
3621
3621
  */
3622
- interface ListCollectionsRequest {
3622
+ interface ListCollectionsRequestParams {
3623
3623
  /**
3624
3624
  * The name of chain
3625
3625
  * @type {string}
@@ -3656,7 +3656,7 @@ interface ListCollectionsRequest {
3656
3656
  * @export
3657
3657
  * @interface ListCollectionsByNFTOwnerRequest
3658
3658
  */
3659
- interface ListCollectionsByNFTOwnerRequest {
3659
+ interface ListCollectionsByNFTOwnerRequestParams {
3660
3660
  /**
3661
3661
  * Account address
3662
3662
  * @type {string}
@@ -3682,18 +3682,44 @@ interface ListCollectionsByNFTOwnerRequest {
3682
3682
  */
3683
3683
  readonly pageSize?: number;
3684
3684
  }
3685
+ /**
3686
+ * Request parameters for refreshCollectionMetadata operation in CollectionsApi.
3687
+ * @export
3688
+ * @interface RefreshCollectionMetadataRequest
3689
+ */
3690
+ interface RefreshCollectionMetadataRequestParams {
3691
+ /**
3692
+ * The address contract
3693
+ * @type {string}
3694
+ * @memberof RefreshCollectionMetadata
3695
+ */
3696
+ readonly contractAddress: string;
3697
+ /**
3698
+ * The name of chain
3699
+ * @type {string}
3700
+ * @memberof RefreshCollectionMetadata
3701
+ */
3702
+ readonly chainName: string;
3703
+ /**
3704
+ * The request body
3705
+ * @type {RefreshCollectionMetadataRequest}
3706
+ * @memberof RefreshCollectionMetadata
3707
+ */
3708
+ readonly refreshCollectionMetadataRequest: RefreshCollectionMetadataRequest;
3709
+ }
3685
3710
 
3686
3711
  type collectionsApiTypes_d_APIError400 = APIError400;
3687
3712
  type collectionsApiTypes_d_APIError401 = APIError401;
3688
3713
  type collectionsApiTypes_d_APIError403 = APIError403;
3689
3714
  type collectionsApiTypes_d_APIError404 = APIError404;
3690
3715
  type collectionsApiTypes_d_APIError500 = APIError500;
3691
- type collectionsApiTypes_d_GetCollectionRequest = GetCollectionRequest;
3716
+ type collectionsApiTypes_d_GetCollectionRequestParams = GetCollectionRequestParams;
3692
3717
  type collectionsApiTypes_d_GetCollectionResult = GetCollectionResult;
3693
- type collectionsApiTypes_d_ListCollectionsByNFTOwnerRequest = ListCollectionsByNFTOwnerRequest;
3694
- type collectionsApiTypes_d_ListCollectionsRequest = ListCollectionsRequest;
3718
+ type collectionsApiTypes_d_ListCollectionsByNFTOwnerRequestParams = ListCollectionsByNFTOwnerRequestParams;
3719
+ type collectionsApiTypes_d_ListCollectionsRequestParams = ListCollectionsRequestParams;
3695
3720
  type collectionsApiTypes_d_ListCollectionsResult = ListCollectionsResult;
3696
3721
  type collectionsApiTypes_d_RefreshCollectionMetadataRequest = RefreshCollectionMetadataRequest;
3722
+ type collectionsApiTypes_d_RefreshCollectionMetadataRequestParams = RefreshCollectionMetadataRequestParams;
3697
3723
  type collectionsApiTypes_d_RefreshCollectionMetadataResult = RefreshCollectionMetadataResult;
3698
3724
  declare namespace collectionsApiTypes_d {
3699
3725
  export {
@@ -3702,12 +3728,13 @@ declare namespace collectionsApiTypes_d {
3702
3728
  collectionsApiTypes_d_APIError403 as APIError403,
3703
3729
  collectionsApiTypes_d_APIError404 as APIError404,
3704
3730
  collectionsApiTypes_d_APIError500 as APIError500,
3705
- collectionsApiTypes_d_GetCollectionRequest as GetCollectionRequest,
3731
+ collectionsApiTypes_d_GetCollectionRequestParams as GetCollectionRequestParams,
3706
3732
  collectionsApiTypes_d_GetCollectionResult as GetCollectionResult,
3707
- collectionsApiTypes_d_ListCollectionsByNFTOwnerRequest as ListCollectionsByNFTOwnerRequest,
3708
- collectionsApiTypes_d_ListCollectionsRequest as ListCollectionsRequest,
3733
+ collectionsApiTypes_d_ListCollectionsByNFTOwnerRequestParams as ListCollectionsByNFTOwnerRequestParams,
3734
+ collectionsApiTypes_d_ListCollectionsRequestParams as ListCollectionsRequestParams,
3709
3735
  collectionsApiTypes_d_ListCollectionsResult as ListCollectionsResult,
3710
3736
  collectionsApiTypes_d_RefreshCollectionMetadataRequest as RefreshCollectionMetadataRequest,
3737
+ collectionsApiTypes_d_RefreshCollectionMetadataRequestParams as RefreshCollectionMetadataRequestParams,
3711
3738
  collectionsApiTypes_d_RefreshCollectionMetadataResult as RefreshCollectionMetadataResult,
3712
3739
  };
3713
3740
  }
@@ -3729,7 +3756,7 @@ declare namespace collectionsApiTypes_d {
3729
3756
  * @export
3730
3757
  * @interface GetMetadataRequest
3731
3758
  */
3732
- interface GetMetadataRequest {
3759
+ interface GetMetadataRequestParams {
3733
3760
  /**
3734
3761
  * The name of chain
3735
3762
  * @type {string}
@@ -3754,7 +3781,7 @@ interface GetMetadataRequest {
3754
3781
  * @export
3755
3782
  * @interface ListMetadataRequest
3756
3783
  */
3757
- interface ListMetadataRequest {
3784
+ interface ListMetadataRequestParams {
3758
3785
  /**
3759
3786
  * The name of chain
3760
3787
  * @type {string}
@@ -3791,7 +3818,7 @@ interface ListMetadataRequest {
3791
3818
  * @export
3792
3819
  * @interface ListMetadataForChainRequest
3793
3820
  */
3794
- interface ListMetadataForChainRequest {
3821
+ interface ListMetadataForChainRequestParams {
3795
3822
  /**
3796
3823
  * The name of chain
3797
3824
  * @type {string}
@@ -3817,6 +3844,56 @@ interface ListMetadataForChainRequest {
3817
3844
  */
3818
3845
  readonly pageSize?: number;
3819
3846
  }
3847
+ /**
3848
+ * Request parameters for refreshMetadataByID operation in MetadataApi.
3849
+ * @export
3850
+ * @interface RefreshMetadataByIDRequest
3851
+ */
3852
+ interface RefreshMetadataByIDRequestParams {
3853
+ /**
3854
+ * The name of chain
3855
+ * @type {string}
3856
+ * @memberof RefreshMetadataByID
3857
+ */
3858
+ readonly chainName: string;
3859
+ /**
3860
+ * Contract address
3861
+ * @type {string}
3862
+ * @memberof RefreshMetadataByID
3863
+ */
3864
+ readonly contractAddress: string;
3865
+ /**
3866
+ * NFT Metadata Refresh Request
3867
+ * @type {RefreshMetadataByIDRequest}
3868
+ * @memberof RefreshMetadataByID
3869
+ */
3870
+ readonly refreshMetadataByIDRequest: RefreshMetadataByIDRequest;
3871
+ }
3872
+ /**
3873
+ * Request parameters for refreshNFTMetadataByTokenID operation in MetadataApi.
3874
+ * @export
3875
+ * @interface RefreshNFTMetadataByTokenIDRequest
3876
+ */
3877
+ interface RefreshNFTMetadataByTokenIDRequestParams {
3878
+ /**
3879
+ * The address of contract
3880
+ * @type {string}
3881
+ * @memberof RefreshNFTMetadataByTokenID
3882
+ */
3883
+ readonly contractAddress: string;
3884
+ /**
3885
+ * The name of chain
3886
+ * @type {string}
3887
+ * @memberof RefreshNFTMetadataByTokenID
3888
+ */
3889
+ readonly chainName: string;
3890
+ /**
3891
+ * the request body
3892
+ * @type {RefreshNFTMetadataByTokenIDRequest}
3893
+ * @memberof RefreshNFTMetadataByTokenID
3894
+ */
3895
+ readonly refreshNFTMetadataByTokenIDRequest: RefreshNFTMetadataByTokenIDRequest;
3896
+ }
3820
3897
 
3821
3898
  type metadataApiTypes_d_APIError400 = APIError400;
3822
3899
  type metadataApiTypes_d_APIError401 = APIError401;
@@ -3824,14 +3901,16 @@ type metadataApiTypes_d_APIError403 = APIError403;
3824
3901
  type metadataApiTypes_d_APIError404 = APIError404;
3825
3902
  type metadataApiTypes_d_APIError429 = APIError429;
3826
3903
  type metadataApiTypes_d_APIError500 = APIError500;
3827
- type metadataApiTypes_d_GetMetadataRequest = GetMetadataRequest;
3904
+ type metadataApiTypes_d_GetMetadataRequestParams = GetMetadataRequestParams;
3828
3905
  type metadataApiTypes_d_GetMetadataResult = GetMetadataResult;
3829
- type metadataApiTypes_d_ListMetadataForChainRequest = ListMetadataForChainRequest;
3830
- type metadataApiTypes_d_ListMetadataRequest = ListMetadataRequest;
3906
+ type metadataApiTypes_d_ListMetadataForChainRequestParams = ListMetadataForChainRequestParams;
3907
+ type metadataApiTypes_d_ListMetadataRequestParams = ListMetadataRequestParams;
3831
3908
  type metadataApiTypes_d_ListMetadataResult = ListMetadataResult;
3832
3909
  type metadataApiTypes_d_MetadataRefreshRateLimitResult = MetadataRefreshRateLimitResult;
3833
3910
  type metadataApiTypes_d_RefreshMetadataByIDRequest = RefreshMetadataByIDRequest;
3911
+ type metadataApiTypes_d_RefreshMetadataByIDRequestParams = RefreshMetadataByIDRequestParams;
3834
3912
  type metadataApiTypes_d_RefreshNFTMetadataByTokenIDRequest = RefreshNFTMetadataByTokenIDRequest;
3913
+ type metadataApiTypes_d_RefreshNFTMetadataByTokenIDRequestParams = RefreshNFTMetadataByTokenIDRequestParams;
3835
3914
  declare namespace metadataApiTypes_d {
3836
3915
  export {
3837
3916
  metadataApiTypes_d_APIError400 as APIError400,
@@ -3840,14 +3919,16 @@ declare namespace metadataApiTypes_d {
3840
3919
  metadataApiTypes_d_APIError404 as APIError404,
3841
3920
  metadataApiTypes_d_APIError429 as APIError429,
3842
3921
  metadataApiTypes_d_APIError500 as APIError500,
3843
- metadataApiTypes_d_GetMetadataRequest as GetMetadataRequest,
3922
+ metadataApiTypes_d_GetMetadataRequestParams as GetMetadataRequestParams,
3844
3923
  metadataApiTypes_d_GetMetadataResult as GetMetadataResult,
3845
- metadataApiTypes_d_ListMetadataForChainRequest as ListMetadataForChainRequest,
3846
- metadataApiTypes_d_ListMetadataRequest as ListMetadataRequest,
3924
+ metadataApiTypes_d_ListMetadataForChainRequestParams as ListMetadataForChainRequestParams,
3925
+ metadataApiTypes_d_ListMetadataRequestParams as ListMetadataRequestParams,
3847
3926
  metadataApiTypes_d_ListMetadataResult as ListMetadataResult,
3848
3927
  metadataApiTypes_d_MetadataRefreshRateLimitResult as MetadataRefreshRateLimitResult,
3849
3928
  metadataApiTypes_d_RefreshMetadataByIDRequest as RefreshMetadataByIDRequest,
3929
+ metadataApiTypes_d_RefreshMetadataByIDRequestParams as RefreshMetadataByIDRequestParams,
3850
3930
  metadataApiTypes_d_RefreshNFTMetadataByTokenIDRequest as RefreshNFTMetadataByTokenIDRequest,
3931
+ metadataApiTypes_d_RefreshNFTMetadataByTokenIDRequestParams as RefreshNFTMetadataByTokenIDRequestParams,
3851
3932
  };
3852
3933
  }
3853
3934
 
@@ -3868,7 +3949,7 @@ declare namespace metadataApiTypes_d {
3868
3949
  * @export
3869
3950
  * @interface ListAllNFTOwnersRequest
3870
3951
  */
3871
- interface ListAllNFTOwnersRequest {
3952
+ interface ListAllNFTOwnersRequestParams {
3872
3953
  /**
3873
3954
  * The name of chain
3874
3955
  * @type {string}
@@ -3899,7 +3980,7 @@ interface ListAllNFTOwnersRequest {
3899
3980
  * @export
3900
3981
  * @interface ListNFTOwnersRequest
3901
3982
  */
3902
- interface ListNFTOwnersRequest {
3983
+ interface ListNFTOwnersRequestParams {
3903
3984
  /**
3904
3985
  * The address of contract
3905
3986
  * @type {string}
@@ -3936,7 +4017,7 @@ interface ListNFTOwnersRequest {
3936
4017
  * @export
3937
4018
  * @interface ListOwnersByContractAddressRequest
3938
4019
  */
3939
- interface ListOwnersByContractAddressRequest {
4020
+ interface ListOwnersByContractAddressRequestParams {
3940
4021
  /**
3941
4022
  * The address of contract
3942
4023
  * @type {string}
@@ -3972,21 +4053,21 @@ interface ListOwnersByContractAddressRequest {
3972
4053
  type nftOwnersApiTypes_d_APIError400 = APIError400;
3973
4054
  type nftOwnersApiTypes_d_APIError404 = APIError404;
3974
4055
  type nftOwnersApiTypes_d_APIError500 = APIError500;
3975
- type nftOwnersApiTypes_d_ListAllNFTOwnersRequest = ListAllNFTOwnersRequest;
4056
+ type nftOwnersApiTypes_d_ListAllNFTOwnersRequestParams = ListAllNFTOwnersRequestParams;
3976
4057
  type nftOwnersApiTypes_d_ListCollectionOwnersResult = ListCollectionOwnersResult;
3977
- type nftOwnersApiTypes_d_ListNFTOwnersRequest = ListNFTOwnersRequest;
4058
+ type nftOwnersApiTypes_d_ListNFTOwnersRequestParams = ListNFTOwnersRequestParams;
3978
4059
  type nftOwnersApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
3979
- type nftOwnersApiTypes_d_ListOwnersByContractAddressRequest = ListOwnersByContractAddressRequest;
4060
+ type nftOwnersApiTypes_d_ListOwnersByContractAddressRequestParams = ListOwnersByContractAddressRequestParams;
3980
4061
  declare namespace nftOwnersApiTypes_d {
3981
4062
  export {
3982
4063
  nftOwnersApiTypes_d_APIError400 as APIError400,
3983
4064
  nftOwnersApiTypes_d_APIError404 as APIError404,
3984
4065
  nftOwnersApiTypes_d_APIError500 as APIError500,
3985
- nftOwnersApiTypes_d_ListAllNFTOwnersRequest as ListAllNFTOwnersRequest,
4066
+ nftOwnersApiTypes_d_ListAllNFTOwnersRequestParams as ListAllNFTOwnersRequestParams,
3986
4067
  nftOwnersApiTypes_d_ListCollectionOwnersResult as ListCollectionOwnersResult,
3987
- nftOwnersApiTypes_d_ListNFTOwnersRequest as ListNFTOwnersRequest,
4068
+ nftOwnersApiTypes_d_ListNFTOwnersRequestParams as ListNFTOwnersRequestParams,
3988
4069
  nftOwnersApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
3989
- nftOwnersApiTypes_d_ListOwnersByContractAddressRequest as ListOwnersByContractAddressRequest,
4070
+ nftOwnersApiTypes_d_ListOwnersByContractAddressRequestParams as ListOwnersByContractAddressRequestParams,
3990
4071
  };
3991
4072
  }
3992
4073
 
@@ -4007,7 +4088,7 @@ declare namespace nftOwnersApiTypes_d {
4007
4088
  * @export
4008
4089
  * @interface GetNFTRequest
4009
4090
  */
4010
- interface GetNFTRequest {
4091
+ interface GetNFTRequestParams {
4011
4092
  /**
4012
4093
  * The address of NFT contract
4013
4094
  * @type {string}
@@ -4032,7 +4113,7 @@ interface GetNFTRequest {
4032
4113
  * @export
4033
4114
  * @interface ListAllNFTsRequest
4034
4115
  */
4035
- interface ListAllNFTsRequest {
4116
+ interface ListAllNFTsRequestParams {
4036
4117
  /**
4037
4118
  * The name of chain
4038
4119
  * @type {string}
@@ -4063,7 +4144,7 @@ interface ListAllNFTsRequest {
4063
4144
  * @export
4064
4145
  * @interface ListNFTsRequest
4065
4146
  */
4066
- interface ListNFTsRequest {
4147
+ interface ListNFTsRequestParams {
4067
4148
  /**
4068
4149
  * Contract address
4069
4150
  * @type {string}
@@ -4100,7 +4181,7 @@ interface ListNFTsRequest {
4100
4181
  * @export
4101
4182
  * @interface ListNFTsByAccountAddressRequest
4102
4183
  */
4103
- interface ListNFTsByAccountAddressRequest {
4184
+ interface ListNFTsByAccountAddressRequestParams {
4104
4185
  /**
4105
4186
  * Account address
4106
4187
  * @type {string}
@@ -4136,24 +4217,24 @@ interface ListNFTsByAccountAddressRequest {
4136
4217
  type nftsApiTypes_d_APIError400 = APIError400;
4137
4218
  type nftsApiTypes_d_APIError404 = APIError404;
4138
4219
  type nftsApiTypes_d_APIError500 = APIError500;
4139
- type nftsApiTypes_d_GetNFTRequest = GetNFTRequest;
4220
+ type nftsApiTypes_d_GetNFTRequestParams = GetNFTRequestParams;
4140
4221
  type nftsApiTypes_d_GetNFTResult = GetNFTResult;
4141
- type nftsApiTypes_d_ListAllNFTsRequest = ListAllNFTsRequest;
4142
- type nftsApiTypes_d_ListNFTsByAccountAddressRequest = ListNFTsByAccountAddressRequest;
4222
+ type nftsApiTypes_d_ListAllNFTsRequestParams = ListAllNFTsRequestParams;
4223
+ type nftsApiTypes_d_ListNFTsByAccountAddressRequestParams = ListNFTsByAccountAddressRequestParams;
4143
4224
  type nftsApiTypes_d_ListNFTsByOwnerResult = ListNFTsByOwnerResult;
4144
- type nftsApiTypes_d_ListNFTsRequest = ListNFTsRequest;
4225
+ type nftsApiTypes_d_ListNFTsRequestParams = ListNFTsRequestParams;
4145
4226
  type nftsApiTypes_d_ListNFTsResult = ListNFTsResult;
4146
4227
  declare namespace nftsApiTypes_d {
4147
4228
  export {
4148
4229
  nftsApiTypes_d_APIError400 as APIError400,
4149
4230
  nftsApiTypes_d_APIError404 as APIError404,
4150
4231
  nftsApiTypes_d_APIError500 as APIError500,
4151
- nftsApiTypes_d_GetNFTRequest as GetNFTRequest,
4232
+ nftsApiTypes_d_GetNFTRequestParams as GetNFTRequestParams,
4152
4233
  nftsApiTypes_d_GetNFTResult as GetNFTResult,
4153
- nftsApiTypes_d_ListAllNFTsRequest as ListAllNFTsRequest,
4154
- nftsApiTypes_d_ListNFTsByAccountAddressRequest as ListNFTsByAccountAddressRequest,
4234
+ nftsApiTypes_d_ListAllNFTsRequestParams as ListAllNFTsRequestParams,
4235
+ nftsApiTypes_d_ListNFTsByAccountAddressRequestParams as ListNFTsByAccountAddressRequestParams,
4155
4236
  nftsApiTypes_d_ListNFTsByOwnerResult as ListNFTsByOwnerResult,
4156
- nftsApiTypes_d_ListNFTsRequest as ListNFTsRequest,
4237
+ nftsApiTypes_d_ListNFTsRequestParams as ListNFTsRequestParams,
4157
4238
  nftsApiTypes_d_ListNFTsResult as ListNFTsResult,
4158
4239
  };
4159
4240
  }
@@ -4175,7 +4256,7 @@ declare namespace nftsApiTypes_d {
4175
4256
  * @export
4176
4257
  * @interface GetERC20TokenRequest
4177
4258
  */
4178
- interface GetERC20TokenRequest {
4259
+ interface GetERC20TokenRequestParams {
4179
4260
  /**
4180
4261
  * The address of contract
4181
4262
  * @type {string}
@@ -4194,7 +4275,7 @@ interface GetERC20TokenRequest {
4194
4275
  * @export
4195
4276
  * @interface ListERC20TokensRequest
4196
4277
  */
4197
- interface ListERC20TokensRequest {
4278
+ interface ListERC20TokensRequestParams {
4198
4279
  /**
4199
4280
  * The name of chain
4200
4281
  * @type {string}
@@ -4224,18 +4305,18 @@ interface ListERC20TokensRequest {
4224
4305
  type tokensApiTypes_d_APIError400 = APIError400;
4225
4306
  type tokensApiTypes_d_APIError404 = APIError404;
4226
4307
  type tokensApiTypes_d_APIError500 = APIError500;
4227
- type tokensApiTypes_d_GetERC20TokenRequest = GetERC20TokenRequest;
4308
+ type tokensApiTypes_d_GetERC20TokenRequestParams = GetERC20TokenRequestParams;
4228
4309
  type tokensApiTypes_d_GetTokenResult = GetTokenResult;
4229
- type tokensApiTypes_d_ListERC20TokensRequest = ListERC20TokensRequest;
4310
+ type tokensApiTypes_d_ListERC20TokensRequestParams = ListERC20TokensRequestParams;
4230
4311
  type tokensApiTypes_d_ListTokensResult = ListTokensResult;
4231
4312
  declare namespace tokensApiTypes_d {
4232
4313
  export {
4233
4314
  tokensApiTypes_d_APIError400 as APIError400,
4234
4315
  tokensApiTypes_d_APIError404 as APIError404,
4235
4316
  tokensApiTypes_d_APIError500 as APIError500,
4236
- tokensApiTypes_d_GetERC20TokenRequest as GetERC20TokenRequest,
4317
+ tokensApiTypes_d_GetERC20TokenRequestParams as GetERC20TokenRequestParams,
4237
4318
  tokensApiTypes_d_GetTokenResult as GetTokenResult,
4238
- tokensApiTypes_d_ListERC20TokensRequest as ListERC20TokensRequest,
4319
+ tokensApiTypes_d_ListERC20TokensRequestParams as ListERC20TokensRequestParams,
4239
4320
  tokensApiTypes_d_ListTokensResult as ListTokensResult,
4240
4321
  };
4241
4322
  }
@@ -16493,12 +16574,12 @@ declare enum ChainId {
16493
16574
  }
16494
16575
  /**
16495
16576
  * Enum representing different chain names.
16496
- * @enum {number}
16497
- * @property {number} IMTBL_ZKEVM_MAINNET - The chain name for IMTBL ZKEVM Mainnet.
16498
- * @property {number} IMTBL_ZKEVM_TESTNET - The chain name for IMTBL ZKEVM Testnet.
16499
- * @property {number} IMTBL_ZKEVM_DEVNET - The chain name for IMTBL ZKEVM Devnet.
16500
- * @property {number} ETHEREUM - The chain name for Ethereum.
16501
- * @property {number} SEPOLIA - The chain name for Sepolia.
16577
+ * @enum {string}
16578
+ * @property {string} IMTBL_ZKEVM_MAINNET - The chain name for IMTBL ZKEVM Mainnet.
16579
+ * @property {string} IMTBL_ZKEVM_TESTNET - The chain name for IMTBL ZKEVM Testnet.
16580
+ * @property {string} IMTBL_ZKEVM_DEVNET - The chain name for IMTBL ZKEVM Devnet.
16581
+ * @property {string} ETHEREUM - The chain name for Ethereum.
16582
+ * @property {string} SEPOLIA - The chain name for Sepolia.
16502
16583
  */
16503
16584
  declare enum ChainName {
16504
16585
  ETHEREUM = "Ethereum",
@@ -16507,6 +16588,22 @@ declare enum ChainName {
16507
16588
  IMTBL_ZKEVM_DEVNET = "Immutable zkEVM Dev",
16508
16589
  IMTBL_ZKEVM_MAINNET = "Immutable zkEVM"
16509
16590
  }
16591
+ /**
16592
+ * Enum representing different chain slugs.
16593
+ * @enum {string}
16594
+ * @property {string} IMTBL_ZKEVM_MAINNET - The chain slug for IMTBL ZKEVM Mainnet.
16595
+ * @property {string} IMTBL_ZKEVM_TESTNET - The chain slug for IMTBL ZKEVM Testnet.
16596
+ * @property {string} IMTBL_ZKEVM_DEVNET - The chain slug for IMTBL ZKEVM Devnet.
16597
+ * @property {string} ETHEREUM - The chain slug for Ethereum.
16598
+ * @property {string} SEPOLIA - The chain slug for Sepolia.
16599
+ */
16600
+ declare enum ChainSlug {
16601
+ ETHEREUM = "ethereum",
16602
+ SEPOLIA = "sepolia",
16603
+ IMTBL_ZKEVM_MAINNET = "imtbl-zkevm-mainnet",
16604
+ IMTBL_ZKEVM_TESTNET = "imtbl-zkevm-testnet",
16605
+ IMTBL_ZKEVM_DEVNET = "imtbl-zkevm-devnet"
16606
+ }
16510
16607
 
16511
16608
  /**
16512
16609
  * Represents information about a token.
@@ -16524,6 +16621,15 @@ interface TokenInfo {
16524
16621
  address?: string;
16525
16622
  icon?: string;
16526
16623
  }
16624
+ /**
16625
+ * Interface representing the parameters for {@link Checkout.getTokenInfo}.
16626
+ * @property {Web3Provider | JsonRpcProvider} provider - The provider used to get the balance.
16627
+ * @property {string} tokenAddress - The contract address of the token.
16628
+ */
16629
+ interface GetTokenInfoParams {
16630
+ provider: Web3Provider | JsonRpcProvider;
16631
+ tokenAddress: string;
16632
+ }
16527
16633
 
16528
16634
  /**
16529
16635
  * Interface representing the parameters for {@link Checkout.getBalance}.
@@ -16549,13 +16655,13 @@ interface GetBalanceResult {
16549
16655
  }
16550
16656
  /**
16551
16657
  * Interface representing the parameters for {@link Checkout.getAllBalances}.
16552
- * @property {Web3Provider} provider - The provider used to get the balances.
16553
- * @property {string} walletAddress - The wallet address.
16658
+ * @property {Web3Provider} provider - The provider used to get the balances, it is a required parameter if no walletAddress is provided.
16659
+ * @property {string} walletAddress - The wallet address, it is a required parameter if no provider is provided.
16554
16660
  * @property {ChainId} chainId - The ID of the network.
16555
16661
  */
16556
16662
  interface GetAllBalancesParams {
16557
- provider: Web3Provider;
16558
- walletAddress: string;
16663
+ provider?: Web3Provider;
16664
+ walletAddress?: string;
16559
16665
  chainId: ChainId;
16560
16666
  }
16561
16667
  /**
@@ -17352,6 +17458,7 @@ interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverri
17352
17458
  * @property {AllowedNetworkConfig[]} allowedNetworks
17353
17459
  * @property {GasEstimateTokenConfig | undefined} gasEstimateTokens
17354
17460
  * @property {ImxAddressConfig | undefined} imxAddressMapping
17461
+ * @property {TelemetryConfig | undefined} telemetry
17355
17462
  */
17356
17463
  type RemoteConfiguration = {
17357
17464
  /** The config used for the DEX. */
@@ -17366,6 +17473,8 @@ type RemoteConfiguration = {
17366
17473
  gasEstimateTokens?: GasEstimateTokenConfig;
17367
17474
  /** The IMX address mappings across available networks. */
17368
17475
  imxAddressMapping?: ImxAddressConfig;
17476
+ /** Telemetry config. */
17477
+ telemetry?: TelemetryConfig;
17369
17478
  };
17370
17479
  /**
17371
17480
  * A type representing the fee structure for an OnRamp provider
@@ -17437,6 +17546,13 @@ type AllowedNetworkConfig = {
17437
17546
  type ImxAddressConfig = {
17438
17547
  [chainId: string]: string;
17439
17548
  };
17549
+ /**
17550
+ * A type representing the telemetry configurations.
17551
+ * @property {string} publishableApiKey
17552
+ */
17553
+ type TelemetryConfig = {
17554
+ publishableApiKey: string;
17555
+ };
17440
17556
  /**
17441
17557
  * A type representing the required information to estimate gas for a transaction.
17442
17558
  * @type {{ [key: string]: { bridgeToL2Addresses?: GasEstimateBridgeToL2TokenConfig, swapAddresses?: GasEstimateSwapTokenConfig } }}
@@ -18605,6 +18721,13 @@ declare class Checkout {
18605
18721
  * @returns {Promise<SwitchNetworkResult>} - A promise that resolves to the result of switching the network.
18606
18722
  */
18607
18723
  switchNetwork(params: SwitchNetworkParams): Promise<SwitchNetworkResult>;
18724
+ /**
18725
+ * Retrieves the token information given the token address. This function makes RPC calls to
18726
+ * ERC20 contracts to fetch the main contract information (e.g. symbol).
18727
+ * @param {GetTokenInfoParams} params - The parameters for retrieving the token information.
18728
+ * @returns {Promise<TokenInfo>} - A promise that resolves to the token info request.
18729
+ */
18730
+ getTokenInfo(params: GetTokenInfoParams): Promise<TokenInfo>;
18608
18731
  /**
18609
18732
  * Retrieves the balance of a wallet address.
18610
18733
  * @param {GetBalanceParams} params - The parameters for retrieving the balance.
@@ -18778,12 +18901,14 @@ declare const IMMUTABLE_API_BASE_URL: {
18778
18901
  * Enum representing different types of errors that can occur during the checkout process.
18779
18902
  */
18780
18903
  declare enum CheckoutErrorType {
18904
+ MISSING_PARAMS = "MISSING_PARAMS",
18781
18905
  WEB3_PROVIDER_ERROR = "WEB3_PROVIDER_ERROR",
18782
18906
  PROVIDER_ERROR = "PROVIDER_ERROR",
18783
18907
  DEFAULT_PROVIDER_ERROR = "DEFAULT_PROVIDER_ERROR",
18784
18908
  CONNECT_PROVIDER_ERROR = "CONNECT_PROVIDER_ERROR",
18785
18909
  GET_BALANCE_ERROR = "GET_BALANCE_ERROR",
18786
18910
  GET_INDEXER_BALANCE_ERROR = "GET_INDEXER_BALANCE_ERROR",
18911
+ GET_ERC20_INFO_ERROR = "GET_ERC20_INFO_ERROR",
18787
18912
  GET_ERC20_BALANCE_ERROR = "GET_ERC20_BALANCE_ERROR",
18788
18913
  GET_ERC721_BALANCE_ERROR = "GET_ERC721_BALANCE_ERROR",
18789
18914
  GET_NETWORK_INFO_ERROR = "GET_NETWORK_INFO_ERROR",
@@ -18858,6 +18983,8 @@ type checkout_d_ChainId = ChainId;
18858
18983
  declare const checkout_d_ChainId: typeof ChainId;
18859
18984
  type checkout_d_ChainName = ChainName;
18860
18985
  declare const checkout_d_ChainName: typeof ChainName;
18986
+ type checkout_d_ChainSlug = ChainSlug;
18987
+ declare const checkout_d_ChainSlug: typeof ChainSlug;
18861
18988
  type checkout_d_CheckConnectionParams = CheckConnectionParams;
18862
18989
  type checkout_d_CheckConnectionResult = CheckConnectionResult;
18863
18990
  type checkout_d_Checkout = Checkout;
@@ -18921,6 +19048,7 @@ type checkout_d_GetNetworkAllowListResult = GetNetworkAllowListResult;
18921
19048
  type checkout_d_GetNetworkParams = GetNetworkParams;
18922
19049
  type checkout_d_GetTokenAllowListParams = GetTokenAllowListParams;
18923
19050
  type checkout_d_GetTokenAllowListResult = GetTokenAllowListResult;
19051
+ type checkout_d_GetTokenInfoParams = GetTokenInfoParams;
18924
19052
  type checkout_d_GetWalletAllowListParams = GetWalletAllowListParams;
18925
19053
  type checkout_d_GetWalletAllowListResult = GetWalletAllowListResult;
18926
19054
  declare const checkout_d_IMMUTABLE_API_BASE_URL: typeof IMMUTABLE_API_BASE_URL;
@@ -19054,6 +19182,7 @@ declare namespace checkout_d {
19054
19182
  checkout_d_CancelResultSuccess as CancelResultSuccess,
19055
19183
  checkout_d_ChainId as ChainId,
19056
19184
  checkout_d_ChainName as ChainName,
19185
+ checkout_d_ChainSlug as ChainSlug,
19057
19186
  checkout_d_CheckConnectionParams as CheckConnectionParams,
19058
19187
  checkout_d_CheckConnectionResult as CheckConnectionResult,
19059
19188
  checkout_d_Checkout as Checkout,
@@ -19107,6 +19236,7 @@ declare namespace checkout_d {
19107
19236
  checkout_d_GetNetworkParams as GetNetworkParams,
19108
19237
  checkout_d_GetTokenAllowListParams as GetTokenAllowListParams,
19109
19238
  checkout_d_GetTokenAllowListResult as GetTokenAllowListResult,
19239
+ checkout_d_GetTokenInfoParams as GetTokenInfoParams,
19110
19240
  checkout_d_GetWalletAllowListParams as GetWalletAllowListParams,
19111
19241
  checkout_d_GetWalletAllowListResult as GetWalletAllowListResult,
19112
19242
  checkout_d_IMMUTABLE_API_BASE_URL as IMMUTABLE_API_BASE_URL,