@injectivelabs/sdk-ts 1.20.31 → 1.20.32
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/cjs/{IndexerGrpcWeb3GwApi-B0NB3Clo.cjs → IndexerGrpcWeb3GwApi-VEchf_hB.cjs} +15 -0
- package/dist/cjs/{StreamManagerV2-3BcgVpl3.cjs → StreamManagerV2-Bq9P6V0s.cjs} +1 -1
- package/dist/cjs/client/chain.d.cts +1 -1
- package/dist/cjs/client/indexer.cjs +2 -2
- package/dist/cjs/client/indexer.d.cts +1 -1
- package/dist/cjs/core/accounts.d.cts +1 -1
- package/dist/cjs/core/modules.cjs +2 -2
- package/dist/cjs/core/modules.d.cts +1 -1
- package/dist/cjs/core/tx.cjs +2 -2
- package/dist/cjs/core/tx.d.cts +1 -1
- package/dist/cjs/cosmjs.cjs +2 -2
- package/dist/cjs/exports.cjs +2 -2
- package/dist/cjs/{index-o1rahmwv.d.cts → index-F9ARLsW8.d.cts} +332 -20
- package/dist/cjs/index.cjs +3 -3
- package/dist/cjs/index.d.cts +1 -1
- package/dist/cjs/{tx-D7mGFmK_.cjs → tx-BS1bJRvK.cjs} +1 -1
- package/dist/cjs/utils.d.cts +1 -1
- package/dist/esm/{IndexerGrpcWeb3GwApi-BzVMyGlG.js → IndexerGrpcWeb3GwApi-C7LLie_g.js} +15 -0
- package/dist/esm/{StreamManagerV2-CdI4fJG6.js → StreamManagerV2-BDE-93GO.js} +1 -1
- package/dist/esm/client/chain.d.ts +1 -1
- package/dist/esm/client/indexer.d.ts +1 -1
- package/dist/esm/client/indexer.js +2 -2
- package/dist/esm/core/accounts.d.ts +1 -1
- package/dist/esm/core/modules.d.ts +1 -1
- package/dist/esm/core/modules.js +2 -2
- package/dist/esm/core/tx.d.ts +1 -1
- package/dist/esm/core/tx.js +2 -2
- package/dist/esm/cosmjs.js +2 -2
- package/dist/esm/exports.js +2 -2
- package/dist/esm/{index-ULBL1VE9.d.ts → index-Dg3F9Nqn.d.ts} +332 -20
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{tx-C84JAU3p.js → tx-7vGzWhsj.js} +1 -1
- package/dist/esm/utils.d.ts +1 -1
- package/package.json +6 -6
|
@@ -22502,7 +22502,7 @@ declare const getSpotMarketDecimals: ({
|
|
|
22502
22502
|
*/
|
|
22503
22503
|
declare const getChecksumAddress: (ethAddress: string) => string;
|
|
22504
22504
|
//#endregion
|
|
22505
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
22505
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_accounts_rpc_pb.d.ts
|
|
22506
22506
|
/**
|
|
22507
22507
|
* @generated from protobuf message injective_accounts_rpc.PortfolioResponse
|
|
22508
22508
|
*/
|
|
@@ -23018,7 +23018,7 @@ declare const Reward = new Reward$Type();
|
|
|
23018
23018
|
*/
|
|
23019
23019
|
declare const Coin$7 = new Coin$Type();
|
|
23020
23020
|
//#endregion
|
|
23021
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
23021
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_explorer_rpc_pb.d.ts
|
|
23022
23022
|
/**
|
|
23023
23023
|
* @generated from protobuf message injective_explorer_rpc.GetAccountTxsResponse
|
|
23024
23024
|
*/
|
|
@@ -24452,7 +24452,7 @@ declare const fetchAllWithPagination: <T extends {
|
|
|
24452
24452
|
//#region src/utils/transaction.d.ts
|
|
24453
24453
|
declare const recoverTypedSignaturePubKey: (data: TypedDataDefinition, signature: string) => Promise<string>;
|
|
24454
24454
|
//#endregion
|
|
24455
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
24455
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_rfq_rpc_pb.d.ts
|
|
24456
24456
|
/**
|
|
24457
24457
|
* @generated from protobuf message injective_rfq_rpc.StreamRequestResponse
|
|
24458
24458
|
*/
|
|
@@ -27723,7 +27723,7 @@ type GrpcSubaccountBalance = SubaccountBalance$2;
|
|
|
27723
27723
|
type GrpcSubaccountPortfolio = SubaccountPortfolio$1;
|
|
27724
27724
|
type GrpcSubaccountBalanceTransfer = SubaccountBalanceTransfer;
|
|
27725
27725
|
//#endregion
|
|
27726
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
27726
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_trading_rpc_pb.d.ts
|
|
27727
27727
|
/**
|
|
27728
27728
|
* @generated from protobuf message injective_trading_rpc.ListTradingStrategiesResponse
|
|
27729
27729
|
*/
|
|
@@ -28982,7 +28982,7 @@ interface QuantityAndFees {
|
|
|
28982
28982
|
resultQuantity: string;
|
|
28983
28983
|
}
|
|
28984
28984
|
//#endregion
|
|
28985
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
28985
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_spot_exchange_rpc_pb.d.ts
|
|
28986
28986
|
/**
|
|
28987
28987
|
* @generated from protobuf message injective_spot_exchange_rpc.MarketsResponse
|
|
28988
28988
|
*/
|
|
@@ -30138,7 +30138,7 @@ type GrpcSpotLimitOrder = SpotLimitOrder$1;
|
|
|
30138
30138
|
type GrpcSpotOrderHistory = SpotOrderHistory$1;
|
|
30139
30139
|
type GrpcAtomicSwap = AtomicSwap$1;
|
|
30140
30140
|
//#endregion
|
|
30141
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
30141
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_oracle_rpc_pb.d.ts
|
|
30142
30142
|
/**
|
|
30143
30143
|
* @generated from protobuf message injective_oracle_rpc.OracleListResponse
|
|
30144
30144
|
*/
|
|
@@ -30366,7 +30366,7 @@ interface OraclePriceV2Filter {
|
|
|
30366
30366
|
}
|
|
30367
30367
|
interface OraclePriceV2 extends GrpcOraclePriceV2 {}
|
|
30368
30368
|
//#endregion
|
|
30369
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
30369
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_rfq_gw_rpc_pb.d.ts
|
|
30370
30370
|
/**
|
|
30371
30371
|
* @generated from protobuf message injective_rfq_gw_rpc.RFQGwPrepareEip712AutoSignRequestType
|
|
30372
30372
|
*/
|
|
@@ -31523,7 +31523,7 @@ type GrpcRFQGwPrepareEip712Response = PrepareEip712Response$1;
|
|
|
31523
31523
|
type GrpcRFQGwPrepareEip712AutoSignRequest = RFQGwPrepareEip712AutoSignRequestType$1;
|
|
31524
31524
|
type GrpcRFQGwPrepareEip712AutoSignResponse = PrepareEip712AutoSignResponse;
|
|
31525
31525
|
//#endregion
|
|
31526
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
31526
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_auction_rpc_pb.d.ts
|
|
31527
31527
|
/**
|
|
31528
31528
|
* @generated from protobuf message injective_auction_rpc.AuctionEndpointResponse
|
|
31529
31529
|
*/
|
|
@@ -32020,7 +32020,7 @@ type GrpcAccountAuctionV2 = AccountAuctionV2$1;
|
|
|
32020
32020
|
type GrpcAuctionContract = AuctionContract$1;
|
|
32021
32021
|
type StreamBidsResponse = StreamBidsResponse$1;
|
|
32022
32022
|
//#endregion
|
|
32023
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
32023
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_archiver_rpc_pb.d.ts
|
|
32024
32024
|
/**
|
|
32025
32025
|
* @generated from protobuf message injective_archiver_rpc.BalanceResponse
|
|
32026
32026
|
*/
|
|
@@ -32542,7 +32542,7 @@ type GrpcHistoricalVolumes = HistoricalVolumes$1;
|
|
|
32542
32542
|
type GrpcPnlLeaderboard = PnlLeaderboardResponse | PnlLeaderboardFixedResolutionResponse;
|
|
32543
32543
|
type GrpcVolLeaderboard = VolLeaderboardResponse | VolLeaderboardFixedResolutionResponse;
|
|
32544
32544
|
//#endregion
|
|
32545
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
32545
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_referral_rpc_pb.d.ts
|
|
32546
32546
|
/**
|
|
32547
32547
|
* @generated from protobuf message injective_referral_rpc.GetReferrerDetailsResponse
|
|
32548
32548
|
*/
|
|
@@ -32673,7 +32673,7 @@ interface ReferralDetails {
|
|
|
32673
32673
|
invitees: ReferralInvitee[];
|
|
32674
32674
|
}
|
|
32675
32675
|
//#endregion
|
|
32676
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
32676
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_campaign_rpc_pb.d.ts
|
|
32677
32677
|
/**
|
|
32678
32678
|
* @generated from protobuf message injective_campaign_rpc.RankingResponse
|
|
32679
32679
|
*/
|
|
@@ -33510,7 +33510,7 @@ interface AllSpotMarketSummaryResponse {
|
|
|
33510
33510
|
data: AllChronosSpotMarketSummary[];
|
|
33511
33511
|
}
|
|
33512
33512
|
//#endregion
|
|
33513
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
33513
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_megavault_rpc_pb.d.ts
|
|
33514
33514
|
/**
|
|
33515
33515
|
* @generated from protobuf message injective_megavault_rpc.GetVaultResponse
|
|
33516
33516
|
*/
|
|
@@ -34629,7 +34629,7 @@ interface IncentivesCampaign {
|
|
|
34629
34629
|
subaccountIdSuffix: string;
|
|
34630
34630
|
}
|
|
34631
34631
|
//#endregion
|
|
34632
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
34632
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_insurance_rpc_pb.d.ts
|
|
34633
34633
|
/**
|
|
34634
34634
|
* @generated from protobuf message injective_insurance_rpc.FundsResponse
|
|
34635
34635
|
*/
|
|
@@ -34891,7 +34891,7 @@ interface InsuranceFundCreateParams {
|
|
|
34891
34891
|
type GrpcIndexerInsuranceFund = InsuranceFund$2;
|
|
34892
34892
|
type GrpcIndexerRedemptionSchedule = RedemptionSchedule;
|
|
34893
34893
|
//#endregion
|
|
34894
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
34894
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_derivative_exchange_rpc_pb.d.ts
|
|
34895
34895
|
/**
|
|
34896
34896
|
* @generated from protobuf message injective_derivative_exchange_rpc.MarketsResponse
|
|
34897
34897
|
*/
|
|
@@ -37027,7 +37027,7 @@ interface BankTransferFromExplorerApiResponse {
|
|
|
37027
37027
|
block_timestamp: string;
|
|
37028
37028
|
}
|
|
37029
37029
|
//#endregion
|
|
37030
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
37030
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_tc_derivatives_rpc_pb.d.ts
|
|
37031
37031
|
/**
|
|
37032
37032
|
* @generated from protobuf message injective_tc_derivatives_rpc.OrdersHistoryResponse
|
|
37033
37033
|
*/
|
|
@@ -37535,8 +37535,9 @@ interface TCDerivativeTrade {
|
|
|
37535
37535
|
*/
|
|
37536
37536
|
accountAddress: string;
|
|
37537
37537
|
/**
|
|
37538
|
-
* RFQ identifier
|
|
37539
|
-
* trades
|
|
37538
|
+
* RFQ identifier associated with this trade. Set on synthetic RFQ settlement
|
|
37539
|
+
* trades and on trades attributed to an atomic RFQ proxy execution; presence
|
|
37540
|
+
* alone does not mean the trade is a settlement fill.
|
|
37540
37541
|
*
|
|
37541
37542
|
* @generated from protobuf field: uint64 rfq_id = 21
|
|
37542
37543
|
*/
|
|
@@ -37547,6 +37548,12 @@ interface TCDerivativeTrade {
|
|
|
37547
37548
|
* @generated from protobuf field: string tx_hash = 22
|
|
37548
37549
|
*/
|
|
37549
37550
|
txHash: string;
|
|
37551
|
+
/**
|
|
37552
|
+
* RFQ participant address attributed through atomic RFQ proxy execution
|
|
37553
|
+
*
|
|
37554
|
+
* @generated from protobuf field: string rfq_participant = 23
|
|
37555
|
+
*/
|
|
37556
|
+
rfqParticipant: string;
|
|
37550
37557
|
}
|
|
37551
37558
|
/**
|
|
37552
37559
|
* @generated from protobuf message injective_tc_derivatives_rpc.PositionDelta
|
|
@@ -38436,7 +38443,7 @@ interface ChronosLeaderboardResponse {
|
|
|
38436
38443
|
data: ChronosLeaderboard;
|
|
38437
38444
|
}
|
|
38438
38445
|
//#endregion
|
|
38439
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
38446
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_portfolio_rpc_pb.d.ts
|
|
38440
38447
|
/**
|
|
38441
38448
|
* @generated from protobuf message injective_portfolio_rpc.AccountPortfolioResponse
|
|
38442
38449
|
*/
|
|
@@ -39292,7 +39299,7 @@ declare class IndexerGrpcMitoApi extends BaseIndexerGrpcConsumer {
|
|
|
39292
39299
|
}>;
|
|
39293
39300
|
}
|
|
39294
39301
|
//#endregion
|
|
39295
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
39302
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_meta_rpc_pb.d.ts
|
|
39296
39303
|
/**
|
|
39297
39304
|
* @generated from protobuf message injective_meta_rpc.PingResponse
|
|
39298
39305
|
*/
|
|
@@ -39694,7 +39701,7 @@ declare class IndexerGrpcOracleApi extends BaseIndexerGrpcConsumer {
|
|
|
39694
39701
|
}): Promise<PriceResponse>;
|
|
39695
39702
|
}
|
|
39696
39703
|
//#endregion
|
|
39697
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.
|
|
39704
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+indexer-proto-ts-v2@1.20.0/node_modules/@injectivelabs/indexer-proto-ts-v2/generated/injective_exchange_rpc_pb.d.ts
|
|
39698
39705
|
/**
|
|
39699
39706
|
* @generated from protobuf message injective_exchange_rpc.CosmosCoin
|
|
39700
39707
|
*/
|
|
@@ -39988,6 +39995,258 @@ interface PrepareFeeGrantResponse {
|
|
|
39988
39995
|
*/
|
|
39989
39996
|
allowedMessages: string[];
|
|
39990
39997
|
}
|
|
39998
|
+
/**
|
|
39999
|
+
* @generated from protobuf message injective_exchange_rpc.PrepareTxPrerequisitesResponse
|
|
40000
|
+
*/
|
|
40001
|
+
interface PrepareTxPrerequisitesResponse {
|
|
40002
|
+
/**
|
|
40003
|
+
* @generated from protobuf field: string schema_version = 1
|
|
40004
|
+
*/
|
|
40005
|
+
schemaVersion: string;
|
|
40006
|
+
/**
|
|
40007
|
+
* @generated from protobuf field: string request_id = 2
|
|
40008
|
+
*/
|
|
40009
|
+
requestId: string;
|
|
40010
|
+
/**
|
|
40011
|
+
* @generated from protobuf field: string operation_id = 3
|
|
40012
|
+
*/
|
|
40013
|
+
operationId: string;
|
|
40014
|
+
/**
|
|
40015
|
+
* @generated from protobuf field: string status = 4
|
|
40016
|
+
*/
|
|
40017
|
+
status: string;
|
|
40018
|
+
/**
|
|
40019
|
+
* @generated from protobuf field: string chain_id = 5
|
|
40020
|
+
*/
|
|
40021
|
+
chainId: string;
|
|
40022
|
+
/**
|
|
40023
|
+
* @generated from protobuf field: string address = 6
|
|
40024
|
+
*/
|
|
40025
|
+
address: string;
|
|
40026
|
+
/**
|
|
40027
|
+
* @generated from protobuf field: string revision = 7
|
|
40028
|
+
*/
|
|
40029
|
+
revision: string;
|
|
40030
|
+
/**
|
|
40031
|
+
* @generated from protobuf field: string valid_until_ms = 8
|
|
40032
|
+
*/
|
|
40033
|
+
validUntilMs: string;
|
|
40034
|
+
/**
|
|
40035
|
+
* @generated from protobuf field: injective_exchange_rpc.TxPrerequisitesAccount account = 9
|
|
40036
|
+
*/
|
|
40037
|
+
account?: TxPrerequisitesAccount;
|
|
40038
|
+
/**
|
|
40039
|
+
* Present only when requestFeeGrant is true and preparation succeeds
|
|
40040
|
+
*
|
|
40041
|
+
* @generated from protobuf field: injective_exchange_rpc.TxPrerequisitesFeeGrant fee_grant = 10
|
|
40042
|
+
*/
|
|
40043
|
+
feeGrant?: TxPrerequisitesFeeGrant;
|
|
40044
|
+
/**
|
|
40045
|
+
* @generated from protobuf field: injective_exchange_rpc.TxPrerequisitesTransactionContext transaction_context = 11
|
|
40046
|
+
*/
|
|
40047
|
+
transactionContext?: TxPrerequisitesTransactionContext;
|
|
40048
|
+
/**
|
|
40049
|
+
* @generated from protobuf field: uint64 retry_after_ms = 12
|
|
40050
|
+
*/
|
|
40051
|
+
retryAfterMs: bigint;
|
|
40052
|
+
/**
|
|
40053
|
+
* @generated from protobuf field: repeated injective_exchange_rpc.TxPrerequisitesBlocker blockers = 13
|
|
40054
|
+
*/
|
|
40055
|
+
blockers: TxPrerequisitesBlocker[];
|
|
40056
|
+
}
|
|
40057
|
+
/**
|
|
40058
|
+
* @generated from protobuf message injective_exchange_rpc.TxPrerequisitesAccount
|
|
40059
|
+
*/
|
|
40060
|
+
interface TxPrerequisitesAccount {
|
|
40061
|
+
/**
|
|
40062
|
+
* @generated from protobuf field: string status = 1
|
|
40063
|
+
*/
|
|
40064
|
+
status: string;
|
|
40065
|
+
/**
|
|
40066
|
+
* @generated from protobuf field: string address = 2
|
|
40067
|
+
*/
|
|
40068
|
+
address: string;
|
|
40069
|
+
/**
|
|
40070
|
+
* Exact decimal account number
|
|
40071
|
+
*
|
|
40072
|
+
* @generated from protobuf field: string account_number = 3
|
|
40073
|
+
*/
|
|
40074
|
+
accountNumber: string;
|
|
40075
|
+
/**
|
|
40076
|
+
* Exact decimal sequence observed from chain state
|
|
40077
|
+
*
|
|
40078
|
+
* @generated from protobuf field: string sequence = 4
|
|
40079
|
+
*/
|
|
40080
|
+
sequence: string;
|
|
40081
|
+
/**
|
|
40082
|
+
* The sequence is observed and is not reserved
|
|
40083
|
+
*
|
|
40084
|
+
* @generated from protobuf field: string sequence_mode = 5
|
|
40085
|
+
*/
|
|
40086
|
+
sequenceMode: string;
|
|
40087
|
+
/**
|
|
40088
|
+
* Exact decimal height at which the account was observed
|
|
40089
|
+
*
|
|
40090
|
+
* @generated from protobuf field: string observed_at_height = 6
|
|
40091
|
+
*/
|
|
40092
|
+
observedAtHeight: string;
|
|
40093
|
+
}
|
|
40094
|
+
/**
|
|
40095
|
+
* @generated from protobuf message injective_exchange_rpc.TxPrerequisitesFeeGrant
|
|
40096
|
+
*/
|
|
40097
|
+
interface TxPrerequisitesFeeGrant {
|
|
40098
|
+
/**
|
|
40099
|
+
* @generated from protobuf field: string status = 1
|
|
40100
|
+
*/
|
|
40101
|
+
status: string;
|
|
40102
|
+
/**
|
|
40103
|
+
* Stable revision derived from the prepared fee-grant identity and policy
|
|
40104
|
+
*
|
|
40105
|
+
* @generated from protobuf field: string revision = 2
|
|
40106
|
+
*/
|
|
40107
|
+
revision: string;
|
|
40108
|
+
/**
|
|
40109
|
+
* @generated from protobuf field: string granter_address = 3
|
|
40110
|
+
*/
|
|
40111
|
+
granterAddress: string;
|
|
40112
|
+
/**
|
|
40113
|
+
* @generated from protobuf field: string grantee_address = 4
|
|
40114
|
+
*/
|
|
40115
|
+
granteeAddress: string;
|
|
40116
|
+
/**
|
|
40117
|
+
* @generated from protobuf field: string provision_transaction_hash = 5
|
|
40118
|
+
*/
|
|
40119
|
+
provisionTransactionHash: string;
|
|
40120
|
+
/**
|
|
40121
|
+
* @generated from protobuf field: string allowance_type = 6
|
|
40122
|
+
*/
|
|
40123
|
+
allowanceType: string;
|
|
40124
|
+
/**
|
|
40125
|
+
* @generated from protobuf field: repeated string allowed_messages = 7
|
|
40126
|
+
*/
|
|
40127
|
+
allowedMessages: string[];
|
|
40128
|
+
/**
|
|
40129
|
+
* @generated from protobuf field: injective_exchange_rpc.CosmosCoin spend_limit = 8
|
|
40130
|
+
*/
|
|
40131
|
+
spendLimit?: CosmosCoin;
|
|
40132
|
+
/**
|
|
40133
|
+
* @generated from protobuf field: string expires_at_ms = 9
|
|
40134
|
+
*/
|
|
40135
|
+
expiresAtMs: string;
|
|
40136
|
+
}
|
|
40137
|
+
/**
|
|
40138
|
+
* @generated from protobuf message injective_exchange_rpc.TxPrerequisitesTransactionContext
|
|
40139
|
+
*/
|
|
40140
|
+
interface TxPrerequisitesTransactionContext {
|
|
40141
|
+
/**
|
|
40142
|
+
* @generated from protobuf field: string status = 1
|
|
40143
|
+
*/
|
|
40144
|
+
status: string;
|
|
40145
|
+
/**
|
|
40146
|
+
* @generated from protobuf field: string context_id = 2
|
|
40147
|
+
*/
|
|
40148
|
+
contextId: string;
|
|
40149
|
+
/**
|
|
40150
|
+
* @generated from protobuf field: uint64 valid_for_ms = 3
|
|
40151
|
+
*/
|
|
40152
|
+
validForMs: bigint;
|
|
40153
|
+
/**
|
|
40154
|
+
* @generated from protobuf field: string consistency = 4
|
|
40155
|
+
*/
|
|
40156
|
+
consistency: string;
|
|
40157
|
+
/**
|
|
40158
|
+
* @generated from protobuf field: string minimum_observed_height = 5
|
|
40159
|
+
*/
|
|
40160
|
+
minimumObservedHeight: string;
|
|
40161
|
+
/**
|
|
40162
|
+
* @generated from protobuf field: string maximum_observed_height = 6
|
|
40163
|
+
*/
|
|
40164
|
+
maximumObservedHeight: string;
|
|
40165
|
+
/**
|
|
40166
|
+
* @generated from protobuf field: string height_skew_blocks = 7
|
|
40167
|
+
*/
|
|
40168
|
+
heightSkewBlocks: string;
|
|
40169
|
+
/**
|
|
40170
|
+
* @generated from protobuf field: injective_exchange_rpc.TxPrerequisitesBlock block = 8
|
|
40171
|
+
*/
|
|
40172
|
+
block?: TxPrerequisitesBlock;
|
|
40173
|
+
/**
|
|
40174
|
+
* @generated from protobuf field: injective_exchange_rpc.TxPrerequisitesTimeout timeout = 9
|
|
40175
|
+
*/
|
|
40176
|
+
timeout?: TxPrerequisitesTimeout;
|
|
40177
|
+
/**
|
|
40178
|
+
* @generated from protobuf field: injective_exchange_rpc.TxPrerequisitesChainClock chain_clock = 10
|
|
40179
|
+
*/
|
|
40180
|
+
chainClock?: TxPrerequisitesChainClock;
|
|
40181
|
+
}
|
|
40182
|
+
/**
|
|
40183
|
+
* @generated from protobuf message injective_exchange_rpc.TxPrerequisitesBlock
|
|
40184
|
+
*/
|
|
40185
|
+
interface TxPrerequisitesBlock {
|
|
40186
|
+
/**
|
|
40187
|
+
* @generated from protobuf field: string height = 1
|
|
40188
|
+
*/
|
|
40189
|
+
height: string;
|
|
40190
|
+
/**
|
|
40191
|
+
* @generated from protobuf field: string hash = 2
|
|
40192
|
+
*/
|
|
40193
|
+
hash: string;
|
|
40194
|
+
/**
|
|
40195
|
+
* @generated from protobuf field: string timestamp_ms = 3
|
|
40196
|
+
*/
|
|
40197
|
+
timestampMs: string;
|
|
40198
|
+
}
|
|
40199
|
+
/**
|
|
40200
|
+
* @generated from protobuf message injective_exchange_rpc.TxPrerequisitesTimeout
|
|
40201
|
+
*/
|
|
40202
|
+
interface TxPrerequisitesTimeout {
|
|
40203
|
+
/**
|
|
40204
|
+
* Exact decimal timeout height
|
|
40205
|
+
*
|
|
40206
|
+
* @generated from protobuf field: string height = 1
|
|
40207
|
+
*/
|
|
40208
|
+
height: string;
|
|
40209
|
+
/**
|
|
40210
|
+
* Effective timeout-height delta
|
|
40211
|
+
*
|
|
40212
|
+
* @generated from protobuf field: uint64 blocks = 2
|
|
40213
|
+
*/
|
|
40214
|
+
blocks: bigint;
|
|
40215
|
+
}
|
|
40216
|
+
/**
|
|
40217
|
+
* @generated from protobuf message injective_exchange_rpc.TxPrerequisitesChainClock
|
|
40218
|
+
*/
|
|
40219
|
+
interface TxPrerequisitesChainClock {
|
|
40220
|
+
/**
|
|
40221
|
+
* @generated from protobuf field: uint64 snapshot_age_at_response_ms = 1
|
|
40222
|
+
*/
|
|
40223
|
+
snapshotAgeAtResponseMs: bigint;
|
|
40224
|
+
/**
|
|
40225
|
+
* @generated from protobuf field: uint64 server_processing_ms = 2
|
|
40226
|
+
*/
|
|
40227
|
+
serverProcessingMs: bigint;
|
|
40228
|
+
/**
|
|
40229
|
+
* @generated from protobuf field: uint64 upstream_round_trip_ms = 3
|
|
40230
|
+
*/
|
|
40231
|
+
upstreamRoundTripMs: bigint;
|
|
40232
|
+
}
|
|
40233
|
+
/**
|
|
40234
|
+
* @generated from protobuf message injective_exchange_rpc.TxPrerequisitesBlocker
|
|
40235
|
+
*/
|
|
40236
|
+
interface TxPrerequisitesBlocker {
|
|
40237
|
+
/**
|
|
40238
|
+
* @generated from protobuf field: string code = 1
|
|
40239
|
+
*/
|
|
40240
|
+
code: string;
|
|
40241
|
+
/**
|
|
40242
|
+
* @generated from protobuf field: string component = 2
|
|
40243
|
+
*/
|
|
40244
|
+
component: string;
|
|
40245
|
+
/**
|
|
40246
|
+
* @generated from protobuf field: bool retryable = 3
|
|
40247
|
+
*/
|
|
40248
|
+
retryable: boolean;
|
|
40249
|
+
}
|
|
39991
40250
|
/**
|
|
39992
40251
|
* @generated MessageType for protobuf message injective_exchange_rpc.CosmosCoin
|
|
39993
40252
|
*/
|
|
@@ -40024,6 +40283,38 @@ declare const GetFeePayerResponse = new GetFeePayerResponse$Type();
|
|
|
40024
40283
|
* @generated MessageType for protobuf message injective_exchange_rpc.PrepareFeeGrantResponse
|
|
40025
40284
|
*/
|
|
40026
40285
|
declare const PrepareFeeGrantResponse = new PrepareFeeGrantResponse$Type();
|
|
40286
|
+
/**
|
|
40287
|
+
* @generated MessageType for protobuf message injective_exchange_rpc.PrepareTxPrerequisitesResponse
|
|
40288
|
+
*/
|
|
40289
|
+
declare const PrepareTxPrerequisitesResponse = new PrepareTxPrerequisitesResponse$Type();
|
|
40290
|
+
/**
|
|
40291
|
+
* @generated MessageType for protobuf message injective_exchange_rpc.TxPrerequisitesAccount
|
|
40292
|
+
*/
|
|
40293
|
+
declare const TxPrerequisitesAccount = new TxPrerequisitesAccount$Type();
|
|
40294
|
+
/**
|
|
40295
|
+
* @generated MessageType for protobuf message injective_exchange_rpc.TxPrerequisitesFeeGrant
|
|
40296
|
+
*/
|
|
40297
|
+
declare const TxPrerequisitesFeeGrant = new TxPrerequisitesFeeGrant$Type();
|
|
40298
|
+
/**
|
|
40299
|
+
* @generated MessageType for protobuf message injective_exchange_rpc.TxPrerequisitesTransactionContext
|
|
40300
|
+
*/
|
|
40301
|
+
declare const TxPrerequisitesTransactionContext = new TxPrerequisitesTransactionContext$Type();
|
|
40302
|
+
/**
|
|
40303
|
+
* @generated MessageType for protobuf message injective_exchange_rpc.TxPrerequisitesBlock
|
|
40304
|
+
*/
|
|
40305
|
+
declare const TxPrerequisitesBlock = new TxPrerequisitesBlock$Type();
|
|
40306
|
+
/**
|
|
40307
|
+
* @generated MessageType for protobuf message injective_exchange_rpc.TxPrerequisitesTimeout
|
|
40308
|
+
*/
|
|
40309
|
+
declare const TxPrerequisitesTimeout = new TxPrerequisitesTimeout$Type();
|
|
40310
|
+
/**
|
|
40311
|
+
* @generated MessageType for protobuf message injective_exchange_rpc.TxPrerequisitesChainClock
|
|
40312
|
+
*/
|
|
40313
|
+
declare const TxPrerequisitesChainClock = new TxPrerequisitesChainClock$Type();
|
|
40314
|
+
/**
|
|
40315
|
+
* @generated MessageType for protobuf message injective_exchange_rpc.TxPrerequisitesBlocker
|
|
40316
|
+
*/
|
|
40317
|
+
declare const TxPrerequisitesBlocker = new TxPrerequisitesBlocker$Type();
|
|
40027
40318
|
//#endregion
|
|
40028
40319
|
//#region src/client/indexer/grpc/IndexerGrpcTransactionApi.d.ts
|
|
40029
40320
|
interface PrepareTxArgs {
|
|
@@ -40117,6 +40408,27 @@ declare class IndexerGrpcWeb3GwApi extends IndexerGrpcTransactionApi {
|
|
|
40117
40408
|
}: {
|
|
40118
40409
|
granteeAddress: AccountAddress;
|
|
40119
40410
|
}): Promise<PrepareFeeGrantResponse>;
|
|
40411
|
+
prepareTxPrerequisites({
|
|
40412
|
+
schemaVersion,
|
|
40413
|
+
chainId,
|
|
40414
|
+
address,
|
|
40415
|
+
timeoutInBlocks,
|
|
40416
|
+
requestFeeGrant,
|
|
40417
|
+
knownRevision,
|
|
40418
|
+
rejectedFeeGrant
|
|
40419
|
+
}: {
|
|
40420
|
+
schemaVersion?: string;
|
|
40421
|
+
chainId?: string;
|
|
40422
|
+
address: AccountAddress;
|
|
40423
|
+
timeoutInBlocks?: number;
|
|
40424
|
+
requestFeeGrant?: boolean;
|
|
40425
|
+
knownRevision?: string;
|
|
40426
|
+
rejectedFeeGrant?: {
|
|
40427
|
+
revision: string;
|
|
40428
|
+
chainCode: number;
|
|
40429
|
+
transactionHash?: string;
|
|
40430
|
+
};
|
|
40431
|
+
}): Promise<PrepareTxPrerequisitesResponse>;
|
|
40120
40432
|
prepareEip712Request({
|
|
40121
40433
|
address,
|
|
40122
40434
|
chainId,
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -21,12 +21,12 @@ const require_QueryTradingStrategyContractTotalStrategies = require('./QueryTrad
|
|
|
21
21
|
require('./BaseRestConsumer-BcHgNcNh.cjs');
|
|
22
22
|
const require_ExecArgNeptuneWithdraw = require('./ExecArgNeptuneWithdraw-Sqk_zPQx.cjs');
|
|
23
23
|
const require_AbacusGrpcApi = require('./AbacusGrpcApi-DwBUuoqV.cjs');
|
|
24
|
-
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-
|
|
25
|
-
const require_StreamManagerV2 = require('./StreamManagerV2-
|
|
24
|
+
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-VEchf_hB.cjs');
|
|
25
|
+
const require_StreamManagerV2 = require('./StreamManagerV2-Bq9P6V0s.cjs');
|
|
26
26
|
const require_types = require('./types-BJpWW-Rx.cjs');
|
|
27
27
|
const require_TcAbacusGrpcApi = require('./TcAbacusGrpcApi-CCXsWbyv.cjs');
|
|
28
28
|
const require_SocialTradingGrpcApi = require('./SocialTradingGrpcApi-CiT0EoLU.cjs');
|
|
29
|
-
const require_tx = require('./tx-
|
|
29
|
+
const require_tx = require('./tx-BS1bJRvK.cjs');
|
|
30
30
|
const require_service = require('./service-DAfIXxMj.cjs');
|
|
31
31
|
let __injectivelabs_core_proto_ts_v2_generated_injective_types_v1beta1_account_pb = require("@injectivelabs/core-proto-ts-v2/generated/injective/types/v1beta1/account_pb");
|
|
32
32
|
__injectivelabs_core_proto_ts_v2_generated_injective_types_v1beta1_account_pb = require_chunk.__toESM(__injectivelabs_core_proto_ts_v2_generated_injective_types_v1beta1_account_pb);
|