@initia/initia.js 0.2.30 → 0.2.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/README.md CHANGED
@@ -86,7 +86,7 @@ const serializedNone = bcs.option(bcs.u64()).serialize(null)
86
86
 
87
87
  ### Msg 
88
88
 
89
- Msgs are object whose end-goal is to trigger state-transitions. They are wrapped in transactions, which may contain one or more of them.
89
+ Msgs are objects whose end-goal is to trigger state-transitions. They are wrapped in transactions, which may contain one or more of them.
90
90
 
91
91
  * `MsgSend()` 
92
92
 
@@ -185,7 +185,7 @@ const signedTx = await wallet.createAndSignTx({
185
185
  })
186
186
  ```
187
187
 
188
- When sending coins with `MsgSend`, sender address should be same with wallet address.
188
+ When sending coins with `MsgSend`, sender address should be the same as wallet address.
189
189
 
190
190
  * `broadcast()`
191
191
 
@@ -44,6 +44,7 @@ export declare class RESTClient {
44
44
  wasm: WasmAPI;
45
45
  constructor(URL: string, config?: RESTClientConfig, apiRequester?: APIRequester);
46
46
  wallet(key: Key): Wallet;
47
+ gasPrices(): Promise<Coins.Input | undefined>;
47
48
  }
48
49
  export declare class LCDClient extends RESTClient {
49
50
  }
@@ -18,6 +18,7 @@ export declare class MstakingAPI extends BaseAPI {
18
18
  unbondingDelegation(delegator?: AccAddress, validator?: ValAddress): Promise<UnbondingDelegation>;
19
19
  redelegations(delegator: AccAddress, src_validator_addr?: ValAddress, dst_validator_addr?: ValAddress, params?: Partial<PaginationOptions & APIParams>): Promise<[Redelegation[], Pagination]>;
20
20
  bondedValidators(delegator: AccAddress, params?: Partial<PaginationOptions & APIParams>): Promise<[Validator[], Pagination]>;
21
+ totalDelegationBalance(delegator: AccAddress, params?: APIParams): Promise<Coins>;
21
22
  validators(params?: Partial<PaginationOptions & APIParams>): Promise<[Validator[], Pagination]>;
22
23
  validator(validator: ValAddress, params?: APIParams): Promise<Validator>;
23
24
  pool(params?: APIParams): Promise<MstakingPool>;
@@ -41,7 +41,7 @@ export declare namespace StakeAuthorization {
41
41
  type Type = AuthorizationType;
42
42
  const Type: typeof AuthorizationType;
43
43
  interface Amino {
44
- type: 'mstake/StakeAuthorization';
44
+ type: 'mstaking/StakeAuthorization';
45
45
  value: {
46
46
  max_tokens: Coins.Amino;
47
47
  allow_list: StakeAuthorizationValidators.Amino;
@@ -12,7 +12,7 @@ export declare class IbcHooksParams extends JSONSerializable<IbcHooksParams.Amin
12
12
  }
13
13
  export declare namespace IbcHooksParams {
14
14
  interface Amino {
15
- type: 'ibc-hooks/Params';
15
+ type: 'ibchooks/Params';
16
16
  value: {
17
17
  default_allowed: boolean;
18
18
  };