Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dfin-jsdk

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dfin-jsdk

<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

  • 0.0.14
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

JSDK

JSDK

Index

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

Address

Ƭ Address: string

Defined in cosmos/definitions/Address.ts:131

Defined in dfinance/definitions/Address.ts:131


AuthStdTx

Ƭ AuthStdTx: TypesStdTx

Defined in cosmos/definitions/AuthStdTx.ts:131

Defined in dfinance/definitions/AuthStdTx.ts:131


CcstorageCurrencies

Ƭ CcstorageCurrencies: TypesCurrencies

Defined in cosmos/definitions/CcstorageCurrencies.ts:131

Defined in dfinance/definitions/CcstorageCurrencies.ts:131


CcstorageCurrency

Ƭ CcstorageCurrency: TypesCurrency

Defined in cosmos/definitions/CcstorageCurrency.ts:131

Defined in dfinance/definitions/CcstorageCurrency.ts:131


CryptoPubKey

Ƭ CryptoPubKey: object

Defined in cosmos/definitions/CryptoPubKey.ts:131

Defined in dfinance/definitions/CryptoPubKey.ts:131


Hash

Ƭ Hash: string

Defined in cosmos/definitions/Hash.ts:131

Defined in dfinance/definitions/Hash.ts:131


IRequestConfiguration

Ƭ IRequestConfiguration: Partial‹Request› & object

Defined in cosmos/rests/axios.ts:7

Defined in cosmos/rests/fetch.ts:6

Defined in dfinance/rests/axios.ts:7

Defined in dfinance/rests/fetch.ts:6


MarketsMarketExtended

Ƭ MarketsMarketExtended: TypesMarketExtended

Defined in cosmos/definitions/MarketsMarketExtended.ts:131

Defined in dfinance/definitions/MarketsMarketExtended.ts:131


Msg

Ƭ Msg: string

Defined in cosmos/definitions/Msg.ts:131

Defined in dfinance/definitions/Msg.ts:131


MsmoduleMsMsg

Ƭ MsmoduleMsMsg: object

Defined in cosmos/definitions/MsmoduleMsMsg.ts:131

Defined in dfinance/definitions/MsmoduleMsMsg.ts:131


TypesAccAddress

Ƭ TypesAccAddress: number[]

Defined in cosmos/definitions/TypesAccAddress.ts:131

Defined in dfinance/definitions/TypesAccAddress.ts:131


TypesAssets

Ƭ TypesAssets: TypesAsset[]

Defined in cosmos/definitions/TypesAssets.ts:131

Defined in dfinance/definitions/TypesAssets.ts:131


TypesCallsResp

Ƭ TypesCallsResp: TypesCallResp[]

Defined in cosmos/definitions/TypesCallsResp.ts:131

Defined in dfinance/definitions/TypesCallsResp.ts:131


TypesCoins

Ƭ TypesCoins: TypesCoin[]

Defined in cosmos/definitions/TypesCoins.ts:131

Defined in dfinance/definitions/TypesCoins.ts:131


TypesCurrencies

Ƭ TypesCurrencies: TypesCurrency[]

Defined in cosmos/definitions/TypesCurrencies.ts:131

Defined in dfinance/definitions/TypesCurrencies.ts:131


TypesDec

Ƭ TypesDec: object

Defined in cosmos/definitions/TypesDec.ts:131

Defined in dfinance/definitions/TypesDec.ts:131


TypesDecCoins

Ƭ TypesDecCoins: TypesDecCoin[]

Defined in cosmos/definitions/TypesDecCoins.ts:131

Defined in dfinance/definitions/TypesDecCoins.ts:131


TypesId

Ƭ TypesId: any

Defined in cosmos/definitions/TypesId.ts:131

Defined in dfinance/definitions/TypesId.ts:131


TypesInt

Ƭ TypesInt: object

Defined in cosmos/definitions/TypesInt.ts:131

Defined in dfinance/definitions/TypesInt.ts:131


TypesMarkets

Ƭ TypesMarkets: TypesMarket[]

Defined in cosmos/definitions/TypesMarkets.ts:131

Defined in dfinance/definitions/TypesMarkets.ts:131


TypesMsg

Ƭ TypesMsg: object

Defined in cosmos/definitions/TypesMsg.ts:131

Defined in dfinance/definitions/TypesMsg.ts:131


TypesOracles

Ƭ TypesOracles: TypesOracle[]

Defined in cosmos/definitions/TypesOracles.ts:131

Defined in dfinance/definitions/TypesOracles.ts:131


TypesOrders

Ƭ TypesOrders: TypesOrder[]

Defined in cosmos/definitions/TypesOrders.ts:131

Defined in dfinance/definitions/TypesOrders.ts:131


TypesUint

Ƭ TypesUint: object

Defined in cosmos/definitions/TypesUint.ts:131

Defined in dfinance/definitions/TypesUint.ts:131


TypesValAddress

Ƭ TypesValAddress: number[]

Defined in cosmos/definitions/TypesValAddress.ts:131

Defined in dfinance/definitions/TypesValAddress.ts:131


TypesValidators

Ƭ TypesValidators: TypesValidator[]

Defined in cosmos/definitions/TypesValidators.ts:131

Defined in dfinance/definitions/TypesValidators.ts:131


TypesVmStatuses

Ƭ TypesVmStatuses: TypesVmStatus[]

Defined in cosmos/definitions/TypesVmStatuses.ts:131

Defined in dfinance/definitions/TypesVmStatuses.ts:131


TypesWithdraws

Ƭ TypesWithdraws: TypesWithdraw[]

Defined in cosmos/definitions/TypesWithdraws.ts:131

Defined in dfinance/definitions/TypesWithdraws.ts:131


ValidatorAddress

Ƭ ValidatorAddress: string

Defined in cosmos/definitions/ValidatorAddress.ts:131

Defined in dfinance/definitions/ValidatorAddress.ts:131

Variables

Const baseURL

baseURL: string = ${process.env.VUE_APP_CHAIN_API_URL}

Defined in cosmos/rests/axios.ts:11

Defined in cosmos/rests/fetch.ts:10

Defined in dfinance/rests/axios.ts:11

Defined in dfinance/rests/fetch.ts:10


Const defaultPath

defaultPath: string = process.env.VUE_APP_DEFAULT_DFI_PATH

Defined in extra/crypto/index.ts:22


Let id

id: number = 0

Defined in cosmos/rests/axios.ts:13

Defined in cosmos/rests/fetch.ts:12

Defined in dfinance/rests/axios.ts:13

Defined in dfinance/rests/fetch.ts:12


Const logging

logging: Logger = log.noConflict()

Defined in cosmos/utils/Log.ts:6

Defined in dfinance/utils/Log.ts:6


Const timers

timers: object

Defined in cosmos/utils/Timer.ts:10

Defined in dfinance/utils/Timer.ts:10

Type declaration:

Functions

bech32ify

bech32ify(address: ArrayLike‹number›, prefix: string): string

Defined in extra/crypto/index.ts:26

Parameters:

NameType
addressArrayLike‹number›
prefixstring

Returns: string


createCosmosAddress

createCosmosAddress(publicKey: Uint8Array): string

Defined in extra/crypto/index.ts:43

Parameters:

NameType
publicKeyUint8Array

Returns: string


createDelegationTransaction

createDelegationTransaction(__namedParameters: object, data: any): any

Defined in extra/transactions/createDelegationTransaction.ts:1

Parameters:

__namedParameters: object

NameType
accountany
feeany
gasany
walletany

data: any

Returns: any


createDestroyTransaction

createDestroyTransaction(__namedParameters: object, data: any): any

Defined in extra/transactions/createDestroyTransaction.ts:1

Parameters:

__namedParameters: object

NameType
accountany
feeany
gasany
walletany

data: any

Returns: any


createSendMoneyTransaction

createSendMoneyTransaction(__namedParameters: object, data: any): any

Defined in extra/transactions/createSendMoneyTransaction.ts:1

Parameters:

__namedParameters: object

NameType
accountany
feeany
gasany
walletany

data: any

Returns: any


Const decimal

decimal(value: Decimal.Value): Decimal

Defined in extra/DB/index.ts:7

Parameters:

NameType
valueDecimal.Value

Returns: Decimal


deriveKeypair

deriveKeypair(masterKey: BIP32Interface, path: string): IKeyPair

Defined in extra/crypto/index.ts:61

Parameters:

NameType
masterKeyBIP32Interface
pathstring

Returns: IKeyPair


deriveMasterKey

deriveMasterKey(mnemonic: string, password: string): Promise‹BIP32Interface›

Defined in extra/crypto/index.ts:52

Parameters:

NameTypeDefault
mnemonicstring-
passwordstringnull

Returns: Promise‹BIP32Interface›


generateSeed

generateSeed(randomBytesFunc: function): string

Defined in extra/crypto/index.ts:32

Parameters:

Default value randomBytesFunc: function= standardRandomBytesFunc

▸ (x: number): string

Parameters:

NameType
xnumber

Returns: string


generateWallet

generateWallet(password: string, path: string, randomBytesFunc: function): Promise‹IWallet

Defined in extra/crypto/index.ts:88

Parameters:

Default value password: string= null

Default value path: string= defaultPath

Default value randomBytesFunc: function= standardRandomBytesFunc

▸ (x: number): string

Parameters:

NameType
xnumber

Returns: Promise‹IWallet


generateWalletFromSeed

generateWalletFromSeed(mnemonic: string, password: string, path: string): Promise‹IWallet

Defined in extra/crypto/index.ts:73

Parameters:

NameTypeDefault
mnemonicstring-
passwordstring-
pathstringdefaultPath

Returns: Promise‹IWallet


getConfigurations

getConfigurations(method: Method, contentType: string, url: string, configurations?: IRequestConfiguration): IRequestConfiguration

Defined in cosmos/rests/axios.ts:48

Parameters:

NameType
methodMethod
contentTypestring
urlstring
configurations?IRequestConfiguration

Returns: IRequestConfiguration


Const request

request(configuration: IRequestConfiguration, resolve: function, reject: function): Promise‹any›

Defined in cosmos/rests/axios.ts:15

Parameters:

configuration: IRequestConfiguration

resolve: function

▸ (p: any): void

Parameters:

NameType
pany

reject: function

▸ (p: any): void

Parameters:

NameType
pany

Returns: Promise‹any›


sendDelegation

sendDelegation(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendDelegation.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
amountany
feeany
gasany
validatorAddressany

Returns: Promise‹any›


sendDestroy

sendDestroy(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendDestroy.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
amountany
currencyany
feeany
gasany
toAddressany

Returns: Promise‹any›


sendMoney

sendMoney(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendMoney.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
amountany
currencyany
feeany
gasany
toAddressany

Returns: Promise‹any›


sendUnbondingDelegation

sendUnbondingDelegation(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendUnbondingDelegation.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
amountany
feeany
gasany
validatorAddressany

Returns: Promise‹any›


sendWithdrawReward

sendWithdrawReward(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendWithdrawReward.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
feeany
gasany
validatorAddressany

Returns: Promise‹any›


sign

sign(bytes: BinaryLike, privateKey: Uint8Array): Uint8Array

Defined in extra/transactions/sendDelegation.ts:11

Parameters:

NameType
bytesBinaryLike
privateKeyUint8Array

Returns: Uint8Array


signJson

signJson(json: any, privateKey: Uint8Array): Uint8Array

Defined in extra/transactions/sendDelegation.ts:17

Parameters:

NameType
jsonany
privateKeyUint8Array

Returns: Uint8Array


Const standardRandomBytesFunc

standardRandomBytesFunc(x: number): string

Defined in extra/crypto/index.ts:24

Parameters:

NameType
xnumber

Returns: string

Classes

JSDKAuthService

Class: AuthService

Hierarchy

  • AuthService

Index

Methods

Methods

Static getAuthAccountsAddress

getAuthAccountsAddress(parameters: object, options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/AuthService.ts:162

description Get the account information on blockchain

200 - Account information on the blockchain
500 - Server internel error

method getAuthAccountsAddress

see /auth/accounts/{address}

Parameters:

parameters: object

NameTypeDescription
addressstring(in path) - Account address

Optional options: IRequestConfiguration

Returns: Promise‹object›

{Promise<{ type: string, value: { * account_number: string, * address: string, * coins: Coin[], * public_key: PublicKey, * sequence: string } }>}

JSDKBankService

Class: BankService

Hierarchy

  • BankService

Index

Methods

Methods

Static getBankBalancesAddress

getBankBalancesAddress(parameters: object, options?: IRequestConfiguration): Promise‹Coin[]›

Defined in cosmos/BankService.ts:192

description Get the account balances

200 - Account balances
500 - Server internal error

method getBankBalancesAddress

see /bank/balances/{address}

Parameters:

parameters: object

NameTypeDescription
addressstring(in path) - Account address in bech32 format

Optional options: IRequestConfiguration

Returns: Promise‹Coin[]›


Static postBankAccountsAddressTransfers

postBankAccountsAddressTransfers(parameters: object, options?: IRequestConfiguration): Promise‹any›

Defined in cosmos/BankService.ts:158

description Send coins from one account to another

202 - Tx was succesfully generated
400 - Invalid request
500 - Server internal error

method postBankAccountsAddressTransfers

see /bank/accounts/{address}/transfers

Parameters:

parameters: object

NameTypeDescription
accountobject-
addressstring(in path) - Account address in bech32 format

Optional options: IRequestConfiguration

Returns: Promise‹any›

JSDKCurrenciesService

Class: CurrenciesService

Hierarchy

  • CurrenciesService

Index

Methods

Methods

Static getCurrencies

getCurrencies(options?: IRequestConfiguration): Promise‹RestCcRespGetCurrencies

Defined in cosmos/CurrenciesService.ts:151

description Get all registered currencies

200 - OK
500 - Returned on server error

method getCurrencies

see /currencies

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹RestCcRespGetCurrencies


Static getCurrenciesCurrencyDenom

getCurrenciesCurrencyDenom(parameters: object, options?: IRequestConfiguration): Promise‹RestCcRespGetCurrency

Defined in cosmos/CurrenciesService.ts:180

description Get currency

description Get currency by denom

200 - OK
500 - Returned on server error

method getCurrenciesCurrencyDenom

see /currencies/currency/{denom}

Parameters:

parameters: object

NameTypeDescription
denomstring(in path) - currency denomination symbol

Optional options: IRequestConfiguration

Returns: Promise‹RestCcRespGetCurrency


Static getCurrenciesIssueIssueId

getCurrenciesIssueIssueId(parameters: object, options?: IRequestConfiguration): Promise‹RestCcRespGetIssue

Defined in cosmos/CurrenciesService.ts:251

description Get currency issue

description Get currency issue by issueID

200 - OK
500 - Returned on server error

method getCurrenciesIssueIssueId

see /currencies/issue/{issueID}

Parameters:

parameters: object

NameTypeDescription
issueIDstring(in path) - issueID

Optional options: IRequestConfiguration

Returns: Promise‹RestCcRespGetIssue


Static getCurrenciesWithdrawWithdrawId

getCurrenciesWithdrawWithdrawId(parameters: object, options?: IRequestConfiguration): Promise‹RestCcRespGetWithdraw

Defined in cosmos/CurrenciesService.ts:323

description Get currency withdraw

description Get currency withdraw by withdrawID

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method getCurrenciesWithdrawWithdrawId

see /currencies/withdraw/{withdrawID}

Parameters:

parameters: object

NameTypeDescription
withdrawIDnumber(in path) - withdrawID

Optional options: IRequestConfiguration

Returns: Promise‹RestCcRespGetWithdraw


Static getCurrenciesWithdraws

getCurrenciesWithdraws(parameters: object, options?: IRequestConfiguration): Promise‹RestCcRespGetWithdraws

Defined in cosmos/CurrenciesService.ts:359

description Get currency withdraws

description Get array of Withdraw objects with pagination

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method getCurrenciesWithdraws

see /currencies/withdraws

Parameters:

parameters: object

NameTypeDescription
limit?number(in query) - items per page (default: 100)
page?number(in query) - page number (first page: 1)

Optional options: IRequestConfiguration

Returns: Promise‹RestCcRespGetWithdraws


Static putCurrenciesIssue

putCurrenciesIssue(parameters: object, options?: IRequestConfiguration): Promise‹RestCcRespStdTx

Defined in cosmos/CurrenciesService.ts:215

description Submit issue

description Get submit new issue multi signature message stdTx object

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putCurrenciesIssue

see /currencies/issue

Parameters:

parameters: object

NameTypeDescription
requestRestSubmitIssueReq(in body) - Submit issue request

Optional options: IRequestConfiguration

Returns: Promise‹RestCcRespStdTx


Static putCurrenciesWithdraw

putCurrenciesWithdraw(parameters: object, options?: IRequestConfiguration): Promise‹RestCcRespStdTx

Defined in cosmos/CurrenciesService.ts:286

description Withdraw currency

description Get withdraw currency coins from account balance stdTx object

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putCurrenciesWithdraw

see /currencies/withdraw

Parameters:

parameters: object

NameTypeDescription
requestRestWithdrawReq(in body) - Withdraw request

Optional options: IRequestConfiguration

Returns: Promise‹RestCcRespStdTx

JSDKdefault

Class: default

Hierarchy

  • default

Index

Methods

Methods

Static getBlock

getBlock(height: string): Promise‹any›

Defined in extra/DB/index.ts:14

Parameters:

NameTypeDefault
heightstring"latest"

Returns: Promise‹any›


Static getCurrentBlock

getCurrentBlock(): Promise‹any›

Defined in extra/DB/index.ts:34

Returns: Promise‹any›


Static getLatestTransactions

getLatestTransactions(count: number): Promise‹any›

Defined in extra/DB/index.ts:22

Parameters:

NameType
countnumber

Returns: Promise‹any›


Static getPriceHistory

getPriceHistory(ticker: string): Promise‹any›

Defined in extra/DB/index.ts:42

Parameters:

NameType
tickerstring

Returns: Promise‹any›


Static getTotal

getTotal(type: string): Promise‹any›

Defined in extra/DB/index.ts:38

Parameters:

NameType
typestring

Returns: Promise‹any›


Static getTransaction

getTransaction(hash: string): Promise‹any›

Defined in extra/DB/index.ts:18

Parameters:

NameType
hashstring

Returns: Promise‹any›


Static requestTokens

requestTokens(address: string): Promise‹any›

Defined in extra/DB/index.ts:30

Parameters:

NameType
addressstring

Returns: Promise‹any›


Static searchTxs

searchTxs(params: any): Promise‹any›

Defined in extra/DB/index.ts:26

Parameters:

NameType
paramsany

Returns: Promise‹any›

JSDKDistributionService

Class: DistributionService

Hierarchy

  • DistributionService

Index

Methods

Methods

Static getDistributionCommunityPool

getDistributionCommunityPool(options?: IRequestConfiguration): Promise‹Coin[]›

Defined in cosmos/DistributionService.ts:151

description Community pool parameters

200 - OK
500 - Internal Server Error

method getDistributionCommunityPool

see /distribution/community_pool

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹Coin[]›


Static getDistributionDelegatorsDelegatorAddrRewards

getDistributionDelegatorsDelegatorAddrRewards(parameters: object, options?: IRequestConfiguration): Promise‹DelegatorTotalRewards

Defined in cosmos/DistributionService.ts:179

description Get the total rewards balance from all delegations

description Get the sum of all the rewards earned by delegations by a single delegator

200 - OK
400 - Invalid delegator address
500 - Internal Server Error

method getDistributionDelegatorsDelegatorAddrRewards

see /distribution/delegators/{delegatorAddr}/rewards

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹DelegatorTotalRewards


Static getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr

getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr(parameters: object, options?: IRequestConfiguration): Promise‹Coin[]›

Defined in cosmos/DistributionService.ts:257

description Query a delegation reward

description Query a single delegation reward by a delegator

200 - OK
400 - Invalid delegator address
500 - Internal Server Error

method getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr

see /distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹Coin[]›


Static getDistributionDelegatorsDelegatorAddrWithdrawAddress

getDistributionDelegatorsDelegatorAddrWithdrawAddress(parameters: object, options?: IRequestConfiguration): Promise‹Address

Defined in cosmos/DistributionService.ts:339

description Get the rewards withdrawal address

description Get the delegations' rewards withdrawal address. This is the address in which the user will receive the reward funds

200 - OK
400 - Invalid delegator address
500 - Internal Server Error

method getDistributionDelegatorsDelegatorAddrWithdrawAddress

see /distribution/delegators/{delegatorAddr}/withdraw_address

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹Address


Static getDistributionParameters

getDistributionParameters(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/DistributionService.ts:421

description Fee distribution parameters

200 - OK
500 - Internal Server Error

method getDistributionParameters

see /distribution/parameters

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ base_proposer_reward: string, bonus_proposer_reward: string, community_tax: string }>}


Static getDistributionValidatorsValidatorAddr

getDistributionValidatorsValidatorAddr(parameters: object, options?: IRequestConfiguration): Promise‹ValidatorDistInfo

Defined in cosmos/DistributionService.ts:460

description Validator distribution information

description Query the distribution information of a single validator

200 - OK
400 - Invalid validator address
500 - Internal Server Error

method getDistributionValidatorsValidatorAddr

see /distribution/validators/{validatorAddr}

Parameters:

parameters: object

NameTypeDescription
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹ValidatorDistInfo


Static getDistributionValidatorsValidatorAddrOutstandingRewards

getDistributionValidatorsValidatorAddrOutstandingRewards(parameters: object, options?: IRequestConfiguration): Promise‹Coin[]›

Defined in cosmos/DistributionService.ts:493

description Fee distribution outstanding rewards of a single validator

200 - OK
500 - Internal Server Error

method getDistributionValidatorsValidatorAddrOutstandingRewards

see /distribution/validators/{validatorAddr}/outstanding_rewards

Parameters:

parameters: object

NameTypeDescription
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹Coin[]›


Static getDistributionValidatorsValidatorAddrRewards

getDistributionValidatorsValidatorAddrRewards(parameters: object, options?: IRequestConfiguration): Promise‹Coin[]›

Defined in cosmos/DistributionService.ts:529

description Commission and self-delegation rewards of a single validator

description Query the commission and self-delegation rewards of validator.

200 - OK
400 - Invalid validator address
500 - Internal Server Error

method getDistributionValidatorsValidatorAddrRewards

see /distribution/validators/{validatorAddr}/rewards

Parameters:

parameters: object

NameTypeDescription
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹Coin[]›


Static postDistributionDelegatorsDelegatorAddrRewards

postDistributionDelegatorsDelegatorAddrRewards(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/DistributionService.ts:218

description Withdraw all the delegator's delegation rewards

description Withdraw all the delegator's delegation rewards

200 - OK
400 - Invalid delegator address
401 - Key password is wrong
500 - Internal Server Error

method postDistributionDelegatorsDelegatorAddrRewards

see /distribution/delegators/{delegatorAddr}/rewards

Parameters:

parameters: object

NameTypeDescription
Withdraw request body?object-
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult


Static postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr

postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/DistributionService.ts:298

description Withdraw a delegation reward

description Withdraw a delegator's delegation reward from a single validator

200 - OK
400 - Invalid delegator address or delegation body
401 - Key password is wrong
500 - Internal Server Error

method postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr

see /distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}

Parameters:

parameters: object

NameTypeDescription
Withdraw request body?object-
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult


Static postDistributionDelegatorsDelegatorAddrWithdrawAddress

postDistributionDelegatorsDelegatorAddrWithdrawAddress(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/DistributionService.ts:380

description Replace the rewards withdrawal address

description Replace the delegations' rewards withdrawal address for a new one.

200 - OK
400 - Invalid delegator or withdraw address
401 - Key password is wrong
500 - Internal Server Error

method postDistributionDelegatorsDelegatorAddrWithdrawAddress

see /distribution/delegators/{delegatorAddr}/withdraw_address

Parameters:

parameters: object

NameTypeDescription
Withdraw request body?object-
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult


Static postDistributionValidatorsValidatorAddrRewards

postDistributionValidatorsValidatorAddrRewards(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/DistributionService.ts:566

description Withdraw the validator's rewards

description Withdraw the validator's self-delegation and commissions rewards

200 - OK
400 - Invalid validator address
401 - Key password is wrong
500 - Internal Server Error

method postDistributionValidatorsValidatorAddrRewards

see /distribution/validators/{validatorAddr}/rewards

Parameters:

parameters: object

NameTypeDescription
Withdraw request body?object-
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult

JSDKGovernanceService

Class: GovernanceService

Hierarchy

  • GovernanceService

Index

Methods

Methods

Static getGovParametersDeposit

getGovParametersDeposit(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/GovernanceService.ts:157

description Query governance deposit parameters

description Query governance deposit parameters. The max_deposit_period units are in nanoseconds.

200 - OK
400 -  is not a valid query request path
404 - Found no deposit parameters
500 - Internal Server Error

method getGovParametersDeposit

see /gov/parameters/deposit

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ max_deposit_period: string, min_deposit: Coin[] }>}


Static getGovParametersTallying

getGovParametersTallying(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/GovernanceService.ts:195

description Query governance tally parameters

description Query governance tally parameters

200 - OK
400 -  is not a valid query request path
404 - Found no tally parameters
500 - Internal Server Error

method getGovParametersTallying

see /gov/parameters/tallying

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ governance_penalty: string, threshold: string, veto: string }>}


Static getGovParametersVoting

getGovParametersVoting(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/GovernanceService.ts:235

description Query governance voting parameters

description Query governance voting parameters. The voting_period units are in nanoseconds.

200 - OK
400 -  is not a valid query request path
404 - Found no voting parameters
500 - Internal Server Error

method getGovParametersVoting

see /gov/parameters/voting

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ voting_period: string }>}


Static getGovProposals

getGovProposals(parameters: object, options?: IRequestConfiguration): Promise‹TextProposal[]›

Defined in cosmos/GovernanceService.ts:270

description Query proposals

description Query proposals information with parameters

200 - OK
400 - Invalid query parameters
500 - Internal Server Error

method getGovProposals

see /gov/proposals

Parameters:

parameters: object

NameTypeDescription
depositor?string(in query) - depositor address
status?string(in query) - proposal status, valid values can be '"deposit_period"', '"voting_period"', '"passed"', '"rejected"'
voter?string(in query) - voter address

Optional options: IRequestConfiguration

Returns: Promise‹TextProposal[]›


Static getGovProposalsProposalId

getGovProposalsProposalId(parameters: object, options?: IRequestConfiguration): Promise‹TextProposal

Defined in cosmos/GovernanceService.ts:407

description Query a proposal

description Query a proposal by id

200 - OK
400 - Invalid proposal id
500 - Internal Server Error

method getGovProposalsProposalId

see /gov/proposals/{proposalId}

Parameters:

parameters: object

NameTypeDescription
proposalIdstring(in path)

Optional options: IRequestConfiguration

Returns: Promise‹TextProposal


Static getGovProposalsProposalIdDeposits

getGovProposalsProposalIdDeposits(parameters: object, options?: IRequestConfiguration): Promise‹Deposit[]›

Defined in cosmos/GovernanceService.ts:442

description Query deposits

description Query deposits by proposalId

200 - OK
400 - Invalid proposal id
500 - Internal Server Error

method getGovProposalsProposalIdDeposits

see /gov/proposals/{proposalId}/deposits

Parameters:

parameters: object

NameTypeDescription
proposalIdstring(in path)

Optional options: IRequestConfiguration

Returns: Promise‹Deposit[]›


Static getGovProposalsProposalIdDepositsDepositor

getGovProposalsProposalIdDepositsDepositor(parameters: object, options?: IRequestConfiguration): Promise‹Deposit

Defined in cosmos/GovernanceService.ts:521

description Query deposit

description Query deposit by proposalId and depositor address

200 - OK
400 - Invalid proposal id or depositor address
404 - Found no deposit
500 - Internal Server Error

method getGovProposalsProposalIdDepositsDepositor

see /gov/proposals/{proposalId}/deposits/{depositor}

Parameters:

parameters: object

NameTypeDescription
depositorstring(in path) - Bech32 depositor address
proposalIdstring(in path) - proposal id

Optional options: IRequestConfiguration

Returns: Promise‹Deposit


Static getGovProposalsProposalIdProposer

getGovProposalsProposalIdProposer(parameters: object, options?: IRequestConfiguration): Promise‹Proposer

Defined in cosmos/GovernanceService.ts:557

description Query proposer

description Query for the proposer for a proposal

200 - OK
400 - Invalid proposal ID
500 - Internal Server Error

method getGovProposalsProposalIdProposer

see /gov/proposals/{proposalId}/proposer

Parameters:

parameters: object

NameTypeDescription
proposalIdstring(in path)

Optional options: IRequestConfiguration

Returns: Promise‹Proposer


Static getGovProposalsProposalIdTally

getGovProposalsProposalIdTally(parameters: object, options?: IRequestConfiguration): Promise‹TallyResult

Defined in cosmos/GovernanceService.ts:590

description Get a proposal's tally result at the current time

description Gets a proposal's tally result at the current time. If the proposal is pending deposits (i.e status 'DepositPeriod') it returns an empty tally result.

200 - OK
400 - Invalid proposal id
500 - Internal Server Error

method getGovProposalsProposalIdTally

see /gov/proposals/{proposalId}/tally

Parameters:

parameters: object

NameTypeDescription
proposalIdstring(in path) - proposal id

Optional options: IRequestConfiguration

Returns: Promise‹TallyResult


Static getGovProposalsProposalIdVotes

getGovProposalsProposalIdVotes(parameters: object, options?: IRequestConfiguration): Promise‹Vote[]›

Defined in cosmos/GovernanceService.ts:625

description Query voters

description Query voters information by proposalId

200 - OK
400 - Invalid proposal id
500 - Internal Server Error

method getGovProposalsProposalIdVotes

see /gov/proposals/{proposalId}/votes

Parameters:

parameters: object

NameTypeDescription
proposalIdstring(in path) - proposal id

Optional options: IRequestConfiguration

Returns: Promise‹Vote[]›


Static getGovProposalsProposalIdVotesVoter

getGovProposalsProposalIdVotesVoter(parameters: object, options?: IRequestConfiguration): Promise‹Vote

Defined in cosmos/GovernanceService.ts:708

description Query vote

description Query vote information by proposal Id and voter address

200 - OK
400 - Invalid proposal id or voter address
404 - Found no vote
500 - Internal Server Error

method getGovProposalsProposalIdVotesVoter

see /gov/proposals/{proposalId}/votes/{voter}

Parameters:

parameters: object

NameTypeDescription
proposalIdstring(in path) - proposal id
voterstring(in path) - Bech32 voter address

Optional options: IRequestConfiguration

Returns: Promise‹Vote


Static postGovProposals

postGovProposals(parameters: object, options?: IRequestConfiguration): Promise‹StdTx

Defined in cosmos/GovernanceService.ts:316

description Submit a proposal

description Send transaction to submit a proposal

200 - Tx was succesfully generated
400 - Invalid proposal body
500 - Internal Server Error

method postGovProposals

see /gov/proposals

Parameters:

parameters: object

NameType
post_proposal_bodyobject

Optional options: IRequestConfiguration

Returns: Promise‹StdTx


Static postGovProposalsParamChange

postGovProposalsParamChange(parameters: object, options?: IRequestConfiguration): Promise‹StdTx

Defined in cosmos/GovernanceService.ts:365

description Generate a parameter change proposal transaction

description Generate a parameter change proposal transaction

200 - The transaction was succesfully generated
400 - Invalid proposal body
500 - Internal Server Error

method postGovProposalsParamChange

see /gov/proposals/param_change

Parameters:

parameters: object

NameType
post_proposal_bodyobject

Optional options: IRequestConfiguration

Returns: Promise‹StdTx


Static postGovProposalsProposalIdDeposits

postGovProposalsProposalIdDeposits(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/GovernanceService.ts:481

description Deposit tokens to a proposal

description Send transaction to deposit tokens to a proposal

200 - OK
400 - Invalid proposal id or deposit body
401 - Key password is wrong
500 - Internal Server Error

method postGovProposalsProposalIdDeposits

see /gov/proposals/{proposalId}/deposits

Parameters:

parameters: object

NameTypeDescription
post_deposit_bodyobject-
proposalIdstring(in path) - proposal id

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult


Static postGovProposalsProposalIdVotes

postGovProposalsProposalIdVotes(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/GovernanceService.ts:664

description Vote a proposal

description Send transaction to vote a proposal

200 - OK
400 - Invalid proposal id or vote body
401 - Key password is wrong
500 - Internal Server Error

method postGovProposalsProposalIdVotes

see /gov/proposals/{proposalId}/votes

Parameters:

parameters: object

NameTypeDescription
post_vote_bodyobject-
proposalIdstring(in path) - proposal id

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult

JSDKMarketsService

Class: MarketsService

Hierarchy

  • MarketsService

Index

Methods

Methods

Static getMarkets

getMarkets(parameters: object, options?: IRequestConfiguration): Promise‹RestMarketsRespGetMarkets

Defined in cosmos/MarketsService.ts:158

description Get markets

description Get array of Market objects with pagination and filters

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method getMarkets

see /markets

Parameters:

parameters: object

NameTypeDescription
baseAssetDenom?string(in query) - BaseAsset denom filter
limit?number(in query) - items per page (default: 100)
page?number(in query) - page number (first page: 1)
quoteAssetDenom?string(in query) - QuoteAsset denom filter

Optional options: IRequestConfiguration

Returns: Promise‹RestMarketsRespGetMarkets


Static getMarketsMarketId

getMarketsMarketId(parameters: object, options?: IRequestConfiguration): Promise‹RestMarketsRespGetMarket

Defined in cosmos/MarketsService.ts:206

description Get market

description Get Market object by marketID

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method getMarketsMarketId

see /markets/{marketID}

Parameters:

parameters: object

NameTypeDescription
marketIDstring(in path) - marketID

Optional options: IRequestConfiguration

Returns: Promise‹RestMarketsRespGetMarket

JSDKMintService

Class: MintService

Hierarchy

  • MintService

Index

Methods

Methods

Static getMintingAnnualProvisions

getMintingAnnualProvisions(options?: IRequestConfiguration): Promise‹string›

Defined in cosmos/MintService.ts:151

description Current minting annual provisions value

200 - OK
500 - Internal Server Error

method getMintingAnnualProvisions

see /minting/annual-provisions

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹string›


Static getMintingInflation

getMintingInflation(options?: IRequestConfiguration): Promise‹string›

Defined in cosmos/MintService.ts:175

description Current minting inflation value

200 - OK
500 - Internal Server Error

method getMintingInflation

see /minting/inflation

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹string›


Static getMintingParameters

getMintingParameters(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/MintService.ts:206

description Minting module parameters

200 - OK
500 - Internal Server Error

method getMintingParameters

see /minting/parameters

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ blocks_per_year: string, goal_bonded: string, inflation_max: string, inflation_min: string, inflation_rate_change: string, mint_denom: string }>}

JSDKMultisigService

Class: MultisigService

Hierarchy

  • MultisigService

Index

Methods

Methods

Static getMultisigCallCallId

getMultisigCallCallId(parameters: object, options?: IRequestConfiguration): Promise‹RestMsRespGetCall

Defined in cosmos/MultisigService.ts:155

description Get call

description Get call object by it's ID

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method getMultisigCallCallId

see /multisig/call/{callID}

Parameters:

parameters: object

NameTypeDescription
callIDnumber(in path) - callID

Optional options: IRequestConfiguration

Returns: Promise‹RestMsRespGetCall


Static getMultisigCalls

getMultisigCalls(options?: IRequestConfiguration): Promise‹RestMsRespGetCalls

Defined in cosmos/MultisigService.ts:187

description Get active calls

description Get active call objects

200 - OK
500 - Returned on server error

method getMultisigCalls

see /multisig/calls

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹RestMsRespGetCalls


Static getMultisigUniqueUniqueId

getMultisigUniqueUniqueId(parameters: object, options?: IRequestConfiguration): Promise‹RestMsRespGetCall

Defined in cosmos/MultisigService.ts:290

description Get call

description Get call object by it's uniqueID

200 - OK
500 - Returned on server error

method getMultisigUniqueUniqueId

see /multisig/unique/{uniqueID}

Parameters:

parameters: object

NameTypeDescription
uniqueIDstring(in path) - call uniqueID

Optional options: IRequestConfiguration

Returns: Promise‹RestMsRespGetCall


Static putMultisigConfirm

putMultisigConfirm(parameters: object, options?: IRequestConfiguration): Promise‹RestCcRespStdTx

Defined in cosmos/MultisigService.ts:217

description Confirm call

description Get confirm multi signature call by PoA validator stdTx object

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putMultisigConfirm

see /multisig/confirm

Parameters:

parameters: object

NameTypeDescription
requestRestConfirmReq(in body) - Confirm request

Optional options: IRequestConfiguration

Returns: Promise‹RestCcRespStdTx


Static putMultisigRevoke

putMultisigRevoke(parameters: object, options?: IRequestConfiguration): Promise‹RestCcRespStdTx

Defined in cosmos/MultisigService.ts:254

description Revoke call

description Get revoke multi signature call vote by PoA validator stdTx object

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putMultisigRevoke

see /multisig/revoke

Parameters:

parameters: object

NameTypeDescription
requestRestRevokeReq(in body) - Revoke request

Optional options: IRequestConfiguration

Returns: Promise‹RestCcRespStdTx

JSDKOracleService

Class: OracleService

Hierarchy

  • OracleService

Index

Methods

Methods

Static getOracleAssets

getOracleAssets(options?: IRequestConfiguration): Promise‹RestOracleRespGetAssets

Defined in cosmos/OracleService.ts:154

description Get assets

description Get asset objects

200 - OK
400 - Returned if the request doesn't have valid query params
404 - Returned if requested data wasn't found
500 - Returned on server error

method getOracleAssets

see /oracle/assets

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹RestOracleRespGetAssets


Static getOracleCurrentpriceAssetCode

getOracleCurrentpriceAssetCode(parameters: object, options?: IRequestConfiguration): Promise‹RestOracleRespGetPrice

Defined in cosmos/OracleService.ts:185

description Get current Price

description Get current Price by assetCode

200 - OK
400 - Returned if the request doesn't have valid query params
404 - Returned if requested data wasn't found
500 - Returned on server error

method getOracleCurrentpriceAssetCode

see /oracle/currentprice/{assetCode}

Parameters:

parameters: object

NameTypeDescription
assetCodestring(in path) - asset code

Optional options: IRequestConfiguration

Returns: Promise‹RestOracleRespGetPrice


Static getOracleRawpricesAssetCodeBlockHeight

getOracleRawpricesAssetCodeBlockHeight(parameters: object, options?: IRequestConfiguration): Promise‹RestOracleRespGetRawPrices

Defined in cosmos/OracleService.ts:259

description Get rawPrices

description Get rawPrice objects by assetCode and blockHeight

200 - OK
400 - Returned if the request doesn't have valid query params
404 - Returned if requested data wasn't found
500 - Returned on server error

method getOracleRawpricesAssetCodeBlockHeight

see /oracle/rawprices/{assetCode}/{blockHeight}

Parameters:

parameters: object

NameTypeDescription
assetCodestring(in path) - asset code
blockHeightnumber(in path) - block height rawPrices relates to

Optional options: IRequestConfiguration

Returns: Promise‹RestOracleRespGetRawPrices


Static putOracleRawprices

putOracleRawprices(parameters: object, options?: IRequestConfiguration): Promise‹RestOracleRespGetAssets

Defined in cosmos/OracleService.ts:220

description Post asset rawPrice

description Send asset rawPrice signed Tx

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putOracleRawprices

see /oracle/rawprices

Parameters:

parameters: object

NameTypeDescription
postRequestRestPostPriceReq(in body) - PostPrice request with signed transaction

Optional options: IRequestConfiguration

Returns: Promise‹RestOracleRespGetAssets

JSDKOrdersService

Class: OrdersService

Hierarchy

  • OrdersService

Index

Methods

Methods

Static getOrders

getOrders(parameters: object, options?: IRequestConfiguration): Promise‹RestOrdersRespGetOrders

Defined in cosmos/OrdersService.ts:159

description Get orders

description Get array of Order objects with pagination and filters

200 - OK
400 - Returned if the request doesn't have valid query/path params
500 - Returned on server error

method getOrders

see /orders

Parameters:

parameters: object

NameTypeDescription
direction?string(in query) - direction filter (bid/ask)
limit?number(in query) - items per page (default: 100)
marketID?string(in query) - marketID filter (bid/ask)
owner?string(in query) - owner filter
page?number(in query) - page number (first page: 1)

Optional options: IRequestConfiguration

Returns: Promise‹RestOrdersRespGetOrders


Static getOrdersOrderId

getOrdersOrderId(parameters: object, options?: IRequestConfiguration): Promise‹RestOrdersRespGetOrder

Defined in cosmos/OrdersService.ts:283

description Get order

description Get Order object by orderID

200 - OK
400 - Returned if the request doesn't have valid query/path params
500 - Returned on server error

method getOrdersOrderId

see /orders/{orderID}

Parameters:

parameters: object

NameTypeDescription
orderIDstring(in path) - orderID

Optional options: IRequestConfiguration

Returns: Promise‹RestOrdersRespGetOrder


Static putOrdersPost

putOrdersPost(parameters: object, options?: IRequestConfiguration): Promise‹RestOrdersRespPostOrder

Defined in cosmos/OrdersService.ts:206

description Post new order

description Post new order

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putOrdersPost

see /orders/post

Parameters:

parameters: object

NameTypeDescription
postRequestRestPostOrderReq(in body) - PostOrder request with signed transaction

Optional options: IRequestConfiguration

Returns: Promise‹RestOrdersRespPostOrder


Static putOrdersRevoke

putOrdersRevoke(parameters: object, options?: IRequestConfiguration): Promise‹RestOrdersRespRevokeOrder

Defined in cosmos/OrdersService.ts:243

description Revoke order

description Revoke order

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putOrdersRevoke

see /orders/revoke

Parameters:

parameters: object

NameTypeDescription
postRequestRestRevokeOrderReq(in body) - RevokeOrder request with signed transaction

Optional options: IRequestConfiguration

Returns: Promise‹RestOrdersRespRevokeOrder

JSDKPoAService

Class: PoAService

Hierarchy

  • PoAService

Index

Methods

Methods

Static getPoaValidators

getPoaValidators(options?: IRequestConfiguration): Promise‹RestPoaRespGetValidators

Defined in cosmos/PoAService.ts:152

description Get validators

description Get validator objects and required confirmations count

200 - OK
500 - Returned on server error

method getPoaValidators

see /poa/validators

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹RestPoaRespGetValidators

JSDKSlashingService

Class: SlashingService

Hierarchy

  • SlashingService

Index

Methods

Methods

Static getSlashingParameters

getSlashingParameters(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/SlashingService.ts:159

description Get the current slashing parameters

200 - OK
500 - Internal Server Error

method getSlashingParameters

see /slashing/parameters

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ double_sign_unbond_duration: string, downtime_unbond_duration: string, max_evidence_age: string, min_signed_per_window: string, signed_blocks_window: string, slash_fraction_double_sign: string, slash_fraction_downtime: string }>}


Static getSlashingSigningInfos

getSlashingSigningInfos(parameters: object, options?: IRequestConfiguration): Promise‹SigningInfo[]›

Defined in cosmos/SlashingService.ts:231

description Get sign info of given all validators

description Get sign info of all validators

200 - OK
400 - Invalid validator public key for one of the validators
500 - Internal Server Error

method getSlashingSigningInfos

see /slashing/signing_infos

Parameters:

parameters: object

NameTypeDescription
limitnumber(in query) - Maximum number of items per page
pagenumber(in query) - Page number

Optional options: IRequestConfiguration

Returns: Promise‹SigningInfo[]›


Static postSlashingValidatorsValidatorAddrUnjail

postSlashingValidatorsValidatorAddrUnjail(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/SlashingService.ts:272

description Unjail a jailed validator

description Send transaction to unjail a jailed validator

200 - Tx was succesfully generated
400 - Invalid validator address or base_req
500 - Internal Server Error

method postSlashingValidatorsValidatorAddrUnjail

see /slashing/validators/{validatorAddr}/unjail

Parameters:

parameters: object

NameTypeDescription
UnjailBodyobject-
validatorAddrstring(in path) - Bech32 validator address

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult

JSDKStakingService

Class: StakingService

Hierarchy

  • StakingService

Index

Methods

Methods

Static getStakingDelegatorsDelegatorAddrDelegations

getStakingDelegatorsDelegatorAddrDelegations(parameters: object, options?: IRequestConfiguration): Promise‹Delegation[]›

Defined in cosmos/StakingService.ts:154

description Get all delegations from a delegator

200 - OK
400 - Invalid delegator address
500 - Internal Server Error

method getStakingDelegatorsDelegatorAddrDelegations

see /staking/delegators/{delegatorAddr}/delegations

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹Delegation[]›


Static getStakingDelegatorsDelegatorAddrDelegationsValidatorAddr

getStakingDelegatorsDelegatorAddrDelegationsValidatorAddr(parameters: object, options?: IRequestConfiguration): Promise‹Delegation

Defined in cosmos/StakingService.ts:238

description Query the current delegation between a delegator and a validator

200 - OK
400 - Invalid delegator address or validator address
500 - Internal Server Error

method getStakingDelegatorsDelegatorAddrDelegationsValidatorAddr

see /staking/delegators/{delegatorAddr}/delegations/{validatorAddr}

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹Delegation


Static getStakingDelegatorsDelegatorAddrUnbondingDelegations

getStakingDelegatorsDelegatorAddrUnbondingDelegations(parameters: object, options?: IRequestConfiguration): Promise‹UnbondingDelegation[]›

Defined in cosmos/StakingService.ts:323

description Get all unbonding delegations from a delegator

200 - OK
400 - Invalid delegator address
500 - Internal Server Error

method getStakingDelegatorsDelegatorAddrUnbondingDelegations

see /staking/delegators/{delegatorAddr}/unbonding_delegations

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹UnbondingDelegation[]›


Static getStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr

getStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr(parameters: object, options?: IRequestConfiguration): Promise‹UnbondingDelegationPair

Defined in cosmos/StakingService.ts:413

description Query all unbonding delegations between a delegator and a validator

200 - OK
400 - Invalid delegator address or validator address
500 - Internal Server Error

method getStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr

see /staking/delegators/{delegatorAddr}/unbonding_delegations/{validatorAddr}

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹UnbondingDelegationPair


Static getStakingDelegatorsDelegatorAddrValidators

getStakingDelegatorsDelegatorAddrValidators(parameters: object, options?: IRequestConfiguration): Promise‹Validator[]›

Defined in cosmos/StakingService.ts:450

description Query all validators that a delegator is bonded to

200 - OK
400 - Invalid delegator address
500 - Internal Server Error

method getStakingDelegatorsDelegatorAddrValidators

see /staking/delegators/{delegatorAddr}/validators

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹Validator[]›


Static getStakingDelegatorsDelegatorAddrValidatorsValidatorAddr

getStakingDelegatorsDelegatorAddrValidatorsValidatorAddr(parameters: object, options?: IRequestConfiguration): Promise‹Validator

Defined in cosmos/StakingService.ts:485

description Query a validator that a delegator is bonded to

200 - OK
400 - Invalid delegator address or validator address
500 - Internal Server Error

method getStakingDelegatorsDelegatorAddrValidatorsValidatorAddr

see /staking/delegators/{delegatorAddr}/validators/{validatorAddr}

Parameters:

parameters: object

NameTypeDescription
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator
validatorAddrstring(in path) - Bech32 ValAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹Validator


Static getStakingParameters

getStakingParameters(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/StakingService.ts:525

description Get the current staking parameter values

200 - OK
500 - Internal Server Error

method getStakingParameters

see /staking/parameters

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ bond_denom: string, goal_bonded: string, inflation_max: string, inflation_min: string, inflation_rate_change: string, max_validators: number, unbonding_time: string }>}


Static getStakingPool

getStakingPool(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/StakingService.ts:599

description Get the current state of the staking pool

200 - OK
500 - Internal Server Error

method getStakingPool

see /staking/pool

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ bonded_tokens: string, date_last_commission_reset: string, inflation: string, inflation_last_time: string, loose_tokens: string, prev_bonded_shares: string }>}


Static getStakingRedelegations

getStakingRedelegations(parameters: object, options?: IRequestConfiguration): Promise‹Redelegation[]›

Defined in cosmos/StakingService.ts:666

description Get all redelegations (filter by query params)

200 - OK
500 - Internal Server Error

method getStakingRedelegations

see /staking/redelegations

Parameters:

parameters: object

NameTypeDescription
delegator?string(in query) - Bech32 AccAddress of Delegator
validator_from?string(in query) - Bech32 ValAddress of SrcValidator
validator_to?string(in query) - Bech32 ValAddress of DstValidator

Optional options: IRequestConfiguration

Returns: Promise‹Redelegation[]›


Static getStakingValidators

getStakingValidators(parameters: object, options?: IRequestConfiguration): Promise‹Validator[]›

Defined in cosmos/StakingService.ts:709

description Get all validator candidates. By default it returns only the bonded validators.

200 - OK
500 - Internal Server Error

method getStakingValidators

see /staking/validators

Parameters:

parameters: object

NameTypeDescription
limit?number(in query) - The maximum number of items per page.
page?number(in query) - The page number.
status?string(in query) - The validator bond status. Must be either 'bonded', 'unbonded', or 'unbonding'.

Optional options: IRequestConfiguration

Returns: Promise‹Validator[]›


Static getStakingValidatorsValidatorAddr

getStakingValidatorsValidatorAddr(parameters: object, options?: IRequestConfiguration): Promise‹Validator

Defined in cosmos/StakingService.ts:747

description Query the information from a single validator

200 - OK
400 - Invalid validator address
500 - Internal Server Error

method getStakingValidatorsValidatorAddr

see /staking/validators/{validatorAddr}

Parameters:

parameters: object

NameTypeDescription
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹Validator


Static getStakingValidatorsValidatorAddrDelegations

getStakingValidatorsValidatorAddrDelegations(parameters: object, options?: IRequestConfiguration): Promise‹Delegation[]›

Defined in cosmos/StakingService.ts:779

description Get all delegations from a validator

200 - OK
400 - Invalid validator address
500 - Internal Server Error

method getStakingValidatorsValidatorAddrDelegations

see /staking/validators/{validatorAddr}/delegations

Parameters:

parameters: object

NameTypeDescription
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹Delegation[]›


Static getStakingValidatorsValidatorAddrUnbondingDelegations

getStakingValidatorsValidatorAddrUnbondingDelegations(parameters: object, options?: IRequestConfiguration): Promise‹UnbondingDelegation[]›

Defined in cosmos/StakingService.ts:813

description Get all unbonding delegations from a validator

200 - OK
400 - Invalid validator address
500 - Internal Server Error

method getStakingValidatorsValidatorAddrUnbondingDelegations

see /staking/validators/{validatorAddr}/unbonding_delegations

Parameters:

parameters: object

NameTypeDescription
validatorAddrstring(in path) - Bech32 OperatorAddress of validator

Optional options: IRequestConfiguration

Returns: Promise‹UnbondingDelegation[]›


Static postStakingDelegatorsDelegatorAddrDelegations

postStakingDelegatorsDelegatorAddrDelegations(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/StakingService.ts:195

description Submit delegation

200 - OK
400 - Invalid delegator address or delegation request body
401 - Key password is wrong
500 - Internal Server Error

method postStakingDelegatorsDelegatorAddrDelegations

see /staking/delegators/{delegatorAddr}/delegations

Parameters:

parameters: object

NameTypeDescription
delegation?object-
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult


Static postStakingDelegatorsDelegatorAddrRedelegations

postStakingDelegatorsDelegatorAddrRedelegations(parameters: object, options?: IRequestConfiguration): Promise‹StdTx

Defined in cosmos/StakingService.ts:282

description Submit a redelegation

200 - Tx was succesfully generated
400 - Invalid delegator address or redelegation request body
500 - Internal Server Error

method postStakingDelegatorsDelegatorAddrRedelegations

see /staking/delegators/{delegatorAddr}/redelegations

Parameters:

parameters: object

NameTypeDescription
delegation?object-
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹StdTx


Static postStakingDelegatorsDelegatorAddrUnbondingDelegations

postStakingDelegatorsDelegatorAddrUnbondingDelegations(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/StakingService.ts:367

description Submit an unbonding delegation

200 - OK
400 - Invalid delegator address or unbonding delegation request body
401 - Key password is wrong
500 - Internal Server Error

method postStakingDelegatorsDelegatorAddrUnbondingDelegations

see /staking/delegators/{delegatorAddr}/unbonding_delegations

Parameters:

parameters: object

NameTypeDescription
delegation?object-
delegatorAddrstring(in path) - Bech32 AccAddress of Delegator

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult

JSDKSupplyService

Class: SupplyService

Hierarchy

  • SupplyService

Index

Methods

Methods

Static getSupplyTotal

getSupplyTotal(options?: IRequestConfiguration): Promise‹Supply

Defined in cosmos/SupplyService.ts:151

description Total supply of coins in the chain

200 - OK
500 - Internal Server Error

method getSupplyTotal

see /supply/total

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹Supply


Static getSupplyTotalDenomination

getSupplyTotalDenomination(parameters: object, options?: IRequestConfiguration): Promise‹string›

Defined in cosmos/SupplyService.ts:178

description Total supply of a single coin denomination

200 - OK
400 - Invalid coin denomination
500 - Internal Server Error

method getSupplyTotalDenomination

see /supply/total/{denomination}

Parameters:

parameters: object

NameTypeDescription
denominationstring(in path) - Coin denomination

Optional options: IRequestConfiguration

Returns: Promise‹string›

JSDKTendermintRpcService

Class: TendermintRpcService

Hierarchy

  • TendermintRpcService

Index

Methods

Methods

Static getBlocksHeight

getBlocksHeight(parameters: object, options?: IRequestConfiguration): Promise‹BlockQuery

Defined in cosmos/TendermintRpcService.ts:181

description Get a block at a certain height

200 - The block at a specific height
400 - Invalid height
404 - Request block height doesn't
500 - Server internal error

method getBlocksHeight

see /blocks/{height}

Parameters:

parameters: object

NameTypeDescription
heightnumber(in path) - Block height

Optional options: IRequestConfiguration

Returns: Promise‹BlockQuery


Static getBlocksLatest

getBlocksLatest(options?: IRequestConfiguration): Promise‹BlockQuery

Defined in cosmos/TendermintRpcService.ts:151

description Get the latest block

200 - The latest block
500 - Server internal error

method getBlocksLatest

see /blocks/latest

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹BlockQuery


Static getNodeInfo

getNodeInfo(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/TendermintRpcService.ts:240

description The properties of the connected node

description Information about the connected node

200 - Node status
500 - Failed to query node status

method getNodeInfo

see /node_info

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ application_version: { * build_tags: string, * client_name: string, * commit: string, * go: string, * name: string, * server_name: string, * version: string }, node_info: { * channels: string, * id: string, * listen_addr: string, * moniker: string, * network: string, * other: { * * rpc_address: string, * * tx_index: string * }, * protocol_version: { * * app: string, * * block: string, * * p2p: string * }, * version: string } }>}


Static getSyncing

getSyncing(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/TendermintRpcService.ts:358

description Syncing state of node

description Get if the node is currently syning with other nodes

200 - Node syncing status
500 - Server internal error

method getSyncing

see /syncing

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ syncing: boolean }>}


Static getValidatorsetsHeight

getValidatorsetsHeight(parameters: object, options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/TendermintRpcService.ts:429

description Get a validator set a certain height

200 - The validator set at a specific block height
400 - Invalid height
404 - Block at height not available
500 - Server internal error

method getValidatorsetsHeight

see /validatorsets/{height}

Parameters:

parameters: object

NameTypeDescription
heightnumber(in path) - Block height

Optional options: IRequestConfiguration

Returns: Promise‹object›

{Promise<{ block_height: string, validators: TendermintValidator[] }>}


Static getValidatorsetsLatest

getValidatorsetsLatest(options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/TendermintRpcService.ts:387

description Get the latest validator set

200 - The validator set at the latest block height
500 - Server internal error

method getValidatorsetsLatest

see /validatorsets/latest

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

{Promise<{ block_height: string, validators: TendermintValidator[] }>}

JSDKTransactionsService

Class: TransactionsService

Hierarchy

  • TransactionsService

Index

Methods

Methods

Static getTxs

getTxs(parameters: object, options?: IRequestConfiguration): Promise‹PaginatedQueryTxs

Defined in cosmos/TransactionsService.ts:160

description Search transactions

description Search transactions by events.

200 - All txs matching the provided events
400 - Invalid search events
500 - Internal Server Error

method getTxs

see /txs

Parameters:

parameters: object

NameTypeDescription
limit?number(in query) - Maximum number of items per page
message.action?string(in query) - transaction events such as 'message.action=send' which results in the following endpoint: 'GET /txs?message.action=send'. note that each module documents its own events. look for xx_events.md in the corresponding cosmos-sdk/docs/spec directory
message.sender?string(in query) - transaction tags with sender: 'GET /txs?message.action=send&message.sender=cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv'
page?number(in query) - Page number
tx.maxheight?number(in query) - transactions on blocks with height less than or equal this value
tx.minheight?number(in query) - transactions on blocks with height greater or equal this value

Optional options: IRequestConfiguration

Returns: Promise‹PaginatedQueryTxs


Static getTxsHash

getTxsHash(parameters: object, options?: IRequestConfiguration): Promise‹TxQuery

Defined in cosmos/TransactionsService.ts:328

description Get a Tx by hash

description Retrieve a transaction using its hash.

200 - Tx with the provided hash
500 - Internal Server Error

method getTxsHash

see /txs/{hash}

Parameters:

parameters: object

NameTypeDescription
hashstring(in path) - Tx hash

Optional options: IRequestConfiguration

Returns: Promise‹TxQuery


Static postTxs

postTxs(parameters: object, options?: IRequestConfiguration): Promise‹BroadcastTxCommitResult

Defined in cosmos/TransactionsService.ts:211

description Broadcast a signed tx

description Broadcast a signed tx to a full node

200 - Tx broadcasting result
500 - Internal Server Error

method postTxs

see /txs

Parameters:

parameters: object

NameType
txBroadcastobject

Optional options: IRequestConfiguration

Returns: Promise‹BroadcastTxCommitResult


Static postTxsDecode

postTxsDecode(parameters: object, options?: IRequestConfiguration): Promise‹StdTx

Defined in cosmos/TransactionsService.ts:253

description Decode a transaction from the Amino wire format

description Decode a transaction (signed or not) from base64-encoded Amino serialized bytes to JSON

200 - The tx was successfully decoded
400 - The tx was malformated
500 - Server internal error

method postTxsDecode

see /txs/decode

Parameters:

parameters: object

NameType
txobject

Optional options: IRequestConfiguration

Returns: Promise‹StdTx


Static postTxsEncode

postTxsEncode(parameters: object, options?: IRequestConfiguration): Promise‹object›

Defined in cosmos/TransactionsService.ts:292

description Encode a transaction to the Amino wire format

description Encode a transaction (signed or not) from JSON to base64-encoded Amino serialized bytes

200 - The tx was successfully decoded and re-encoded
400 - The tx was malformated
500 - Server internal error

method postTxsEncode

see /txs/encode

Parameters:

parameters: object

NameType
txobject

Optional options: IRequestConfiguration

Returns: Promise‹object›

{Promise<{ tx: string }>}

JSDKVmService

Class: VmService

Hierarchy

  • VmService

Index

Methods

Methods

Static getVmCompile

getVmCompile(parameters: object, options?: IRequestConfiguration): Promise‹RestVmRespCompile

Defined in cosmos/VmService.ts:155

description Get compiled byteCode

description Compile script / module code using VM and return byteCode

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method getVmCompile

see /vm/compile

Parameters:

parameters: object

NameTypeDescription
getRequestRestCompileReq(in body) - Code with metadata

Optional options: IRequestConfiguration

Returns: Promise‹RestVmRespCompile


Static getVmDataAccountAddrVmPath

getVmDataAccountAddrVmPath(parameters: object, options?: IRequestConfiguration): Promise‹RestVmData

Defined in cosmos/VmService.ts:193

description Get writeSet data from VM

description Get writeSet data from VM by accountAddr and path

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method getVmDataAccountAddrVmPath

see /vm/data/{accountAddr}/{vmPath}

Parameters:

parameters: object

NameTypeDescription
accountAddrstring(in path) - account address (Libra HEX Bech32)
vmPathstring(in path) - VM path (HEX string)

Optional options: IRequestConfiguration

Returns: Promise‹RestVmData


Static getVmTxTxHash

getVmTxTxHash(parameters: object, options?: IRequestConfiguration): Promise‹RestVmTxStatus

Defined in cosmos/VmService.ts:306

description Get TX VM execution status

description Get TX VM execution status by hash

200 - OK
400 - Returned if the request doesn't have valid query params
404 - Returned if the requested data wasn't found
500 - Returned on server error

method getVmTxTxHash

see /vm/tx/{txHash}

Parameters:

parameters: object

NameTypeDescription
txHashstring(in path) - transaction hash

Optional options: IRequestConfiguration

Returns: Promise‹RestVmTxStatus


Static getVmView

getVmView(parameters: object, options?: IRequestConfiguration): Promise‹RestVmRespLcsView

Defined in cosmos/VmService.ts:341

description Get writeSet data from VM LCS string view

description Get writeSet data LCS string view for {address}::{moduleName}::{structName} Move path"

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method getVmView

see /vm/view

Parameters:

parameters: object

NameTypeDescription
requestRestLcsViewReq(in body) - View request

Optional options: IRequestConfiguration

Returns: Promise‹RestVmRespLcsView


Static putVmExecute

putVmExecute(parameters: object, options?: IRequestConfiguration): Promise‹RestVmRespStdTx

Defined in cosmos/VmService.ts:231

description Execute Move script

description Get execute Move script stdTx object

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putVmExecute

see /vm/execute

Parameters:

parameters: object

NameTypeDescription
requestRestExecuteScriptReq(in body) - Execute request

Optional options: IRequestConfiguration

Returns: Promise‹RestVmRespStdTx


Static putVmPublish

putVmPublish(parameters: object, options?: IRequestConfiguration): Promise‹RestVmRespStdTx

Defined in cosmos/VmService.ts:268

description Publish Move module

description Get publish Move module stdTx object

200 - OK
400 - Returned if the request doesn't have valid query params
500 - Returned on server error

method putVmPublish

see /vm/publish

Parameters:

parameters: object

NameTypeDescription
requestRestPublishModuleReq(in body) - Publish request

Optional options: IRequestConfiguration

Returns: Promise‹RestVmRespStdTx

Interfaces

JSDKBaseReq

Interface: BaseReq

Hierarchy

  • BaseReq

Index

Properties

Properties

account_number

account_number: string

Defined in cosmos/definitions/BaseReq.ts:132

Defined in dfinance/definitions/BaseReq.ts:132


chain_id

chain_id: string

Defined in cosmos/definitions/BaseReq.ts:133

Defined in dfinance/definitions/BaseReq.ts:133


fees

fees: Coin[]

Defined in cosmos/definitions/BaseReq.ts:134

Defined in dfinance/definitions/BaseReq.ts:134


from

from: string

Defined in cosmos/definitions/BaseReq.ts:135

Defined in dfinance/definitions/BaseReq.ts:135


gas

gas: string

Defined in cosmos/definitions/BaseReq.ts:136

Defined in dfinance/definitions/BaseReq.ts:136


gas_adjustment

gas_adjustment: string

Defined in cosmos/definitions/BaseReq.ts:137

Defined in dfinance/definitions/BaseReq.ts:137


memo

memo: string

Defined in cosmos/definitions/BaseReq.ts:138

Defined in dfinance/definitions/BaseReq.ts:138


sequence

sequence: string

Defined in cosmos/definitions/BaseReq.ts:139

Defined in dfinance/definitions/BaseReq.ts:139


simulate

simulate: boolean

Defined in cosmos/definitions/BaseReq.ts:140

Defined in dfinance/definitions/BaseReq.ts:140

JSDKBlock

Interface: Block

Hierarchy

  • Block

Index

Properties

Properties

evidence

evidence: string[]

Defined in cosmos/definitions/Block.ts:132

Defined in dfinance/definitions/Block.ts:132


header

header: BlockHeader

Defined in cosmos/definitions/Block.ts:133

Defined in dfinance/definitions/Block.ts:133


last_commit

last_commit: object

Defined in cosmos/definitions/Block.ts:134

Defined in dfinance/definitions/Block.ts:134

Type declaration:
  • block_id: BlockId

  • precommits: object[]


txs

txs: string[]

Defined in cosmos/definitions/Block.ts:135

Defined in dfinance/definitions/Block.ts:135

JSDKBlockHeader

Interface: BlockHeader

Hierarchy

  • BlockHeader

Index

Properties

Properties

app_hash

app_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:132

Defined in dfinance/definitions/BlockHeader.ts:132


chain_id

chain_id: string

Defined in cosmos/definitions/BlockHeader.ts:133

Defined in dfinance/definitions/BlockHeader.ts:133


consensus_hash

consensus_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:134

Defined in dfinance/definitions/BlockHeader.ts:134


data_hash

data_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:135

Defined in dfinance/definitions/BlockHeader.ts:135


evidence_hash

evidence_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:136

Defined in dfinance/definitions/BlockHeader.ts:136


height

height: number

Defined in cosmos/definitions/BlockHeader.ts:137

Defined in dfinance/definitions/BlockHeader.ts:137


last_block_id

last_block_id: BlockId

Defined in cosmos/definitions/BlockHeader.ts:138

Defined in dfinance/definitions/BlockHeader.ts:138


last_commit_hash

last_commit_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:139

Defined in dfinance/definitions/BlockHeader.ts:139


last_results_hash

last_results_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:140

Defined in dfinance/definitions/BlockHeader.ts:140


next_validators_hash

next_validators_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:141

Defined in dfinance/definitions/BlockHeader.ts:141


num_txs

num_txs: number

Defined in cosmos/definitions/BlockHeader.ts:142

Defined in dfinance/definitions/BlockHeader.ts:142


proposer_address

proposer_address: Address

Defined in cosmos/definitions/BlockHeader.ts:143

Defined in dfinance/definitions/BlockHeader.ts:143


time

time: string

Defined in cosmos/definitions/BlockHeader.ts:144

Defined in dfinance/definitions/BlockHeader.ts:144


total_txs

total_txs: number

Defined in cosmos/definitions/BlockHeader.ts:145

Defined in dfinance/definitions/BlockHeader.ts:145


validators_hash

validators_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:146

Defined in dfinance/definitions/BlockHeader.ts:146


version

version: object

Defined in cosmos/definitions/BlockHeader.ts:147

Defined in dfinance/definitions/BlockHeader.ts:147

Type declaration:
  • app: string

  • block: string

JSDKBlockId

Interface: BlockId

Hierarchy

  • BlockId

Index

Properties

Properties

hash

hash: Hash

Defined in cosmos/definitions/BlockId.ts:132

Defined in dfinance/definitions/BlockId.ts:132


parts

parts: object

Defined in cosmos/definitions/BlockId.ts:133

Defined in dfinance/definitions/BlockId.ts:133

Type declaration:
  • hash: Hash

  • total: number

JSDKBlockQuery

Interface: BlockQuery

Hierarchy

  • BlockQuery

Index

Properties

Properties

block

block: Block

Defined in cosmos/definitions/BlockQuery.ts:132

Defined in dfinance/definitions/BlockQuery.ts:132


block_meta

block_meta: object

Defined in cosmos/definitions/BlockQuery.ts:133

Defined in dfinance/definitions/BlockQuery.ts:133

Type declaration:
  • block_id: BlockId

  • header: BlockHeader

JSDKBroadcastTxCommitResult

Interface: BroadcastTxCommitResult

Hierarchy

  • BroadcastTxCommitResult

Index

Properties

Properties

check_tx

check_tx: CheckTxResult

Defined in cosmos/definitions/BroadcastTxCommitResult.ts:132

Defined in dfinance/definitions/BroadcastTxCommitResult.ts:132


deliver_tx

deliver_tx: DeliverTxResult

Defined in cosmos/definitions/BroadcastTxCommitResult.ts:133

Defined in dfinance/definitions/BroadcastTxCommitResult.ts:133


hash

hash: Hash

Defined in cosmos/definitions/BroadcastTxCommitResult.ts:134

Defined in dfinance/definitions/BroadcastTxCommitResult.ts:134


height

height: number

Defined in cosmos/definitions/BroadcastTxCommitResult.ts:135

Defined in dfinance/definitions/BroadcastTxCommitResult.ts:135

JSDKCheckTxResult

Interface: CheckTxResult

Hierarchy

  • CheckTxResult

Index

Properties

Properties

code

code: number

Defined in cosmos/definitions/CheckTxResult.ts:132

Defined in dfinance/definitions/CheckTxResult.ts:132


data

data: string

Defined in cosmos/definitions/CheckTxResult.ts:133

Defined in dfinance/definitions/CheckTxResult.ts:133


gas_used

gas_used: number

Defined in cosmos/definitions/CheckTxResult.ts:134

Defined in dfinance/definitions/CheckTxResult.ts:134


gas_wanted

gas_wanted: number

Defined in cosmos/definitions/CheckTxResult.ts:135

Defined in dfinance/definitions/CheckTxResult.ts:135


info

info: string

Defined in cosmos/definitions/CheckTxResult.ts:136

Defined in dfinance/definitions/CheckTxResult.ts:136


log

log: string

Defined in cosmos/definitions/CheckTxResult.ts:137

Defined in dfinance/definitions/CheckTxResult.ts:137


tags

tags: KvPair[]

Defined in cosmos/definitions/CheckTxResult.ts:138

Defined in dfinance/definitions/CheckTxResult.ts:138

JSDKCoin

Interface: Coin

Hierarchy

  • Coin

Index

Properties

Properties

amount

amount: string

Defined in cosmos/definitions/Coin.ts:132

Defined in dfinance/definitions/Coin.ts:132


denom

denom: string

Defined in cosmos/definitions/Coin.ts:133

Defined in dfinance/definitions/Coin.ts:133

JSDKDelegation

Interface: Delegation

Hierarchy

  • Delegation

Index

Properties

Properties

balance

balance: Coin

Defined in cosmos/definitions/Delegation.ts:132

Defined in dfinance/definitions/Delegation.ts:132


delegator_address

delegator_address: string

Defined in cosmos/definitions/Delegation.ts:133

Defined in dfinance/definitions/Delegation.ts:133


shares

shares: string

Defined in cosmos/definitions/Delegation.ts:134

Defined in dfinance/definitions/Delegation.ts:134


validator_address

validator_address: string

Defined in cosmos/definitions/Delegation.ts:135

Defined in dfinance/definitions/Delegation.ts:135

JSDKDelegationDelegatorReward

Interface: DelegationDelegatorReward

Hierarchy

  • DelegationDelegatorReward

Index

Properties

Properties

reward

reward: Coin[]

Defined in cosmos/definitions/DelegationDelegatorReward.ts:132

Defined in dfinance/definitions/DelegationDelegatorReward.ts:132


validator_address

validator_address: ValidatorAddress

Defined in cosmos/definitions/DelegationDelegatorReward.ts:133

Defined in dfinance/definitions/DelegationDelegatorReward.ts:133

JSDKDelegatorTotalRewards

Interface: DelegatorTotalRewards

Hierarchy

  • DelegatorTotalRewards

Index

Properties

Properties

rewards

rewards: DelegationDelegatorReward[]

Defined in cosmos/definitions/DelegatorTotalRewards.ts:132

Defined in dfinance/definitions/DelegatorTotalRewards.ts:132


total

total: Coin[]

Defined in cosmos/definitions/DelegatorTotalRewards.ts:133

Defined in dfinance/definitions/DelegatorTotalRewards.ts:133

JSDKDeliverTxResult

Interface: DeliverTxResult

Hierarchy

  • DeliverTxResult

Index

Properties

Properties

code

code: number

Defined in cosmos/definitions/DeliverTxResult.ts:132

Defined in dfinance/definitions/DeliverTxResult.ts:132


data

data: string

Defined in cosmos/definitions/DeliverTxResult.ts:133

Defined in dfinance/definitions/DeliverTxResult.ts:133


gas_used

gas_used: number

Defined in cosmos/definitions/DeliverTxResult.ts:134

Defined in dfinance/definitions/DeliverTxResult.ts:134


gas_wanted

gas_wanted: number

Defined in cosmos/definitions/DeliverTxResult.ts:135

Defined in dfinance/definitions/DeliverTxResult.ts:135


info

info: string

Defined in cosmos/definitions/DeliverTxResult.ts:136

Defined in dfinance/definitions/DeliverTxResult.ts:136


log

log: string

Defined in cosmos/definitions/DeliverTxResult.ts:137

Defined in dfinance/definitions/DeliverTxResult.ts:137


tags

tags: KvPair[]

Defined in cosmos/definitions/DeliverTxResult.ts:138

Defined in dfinance/definitions/DeliverTxResult.ts:138

JSDKDeposit

Interface: Deposit

Hierarchy

  • Deposit

Index

Properties

Properties

amount

amount: Coin[]

Defined in cosmos/definitions/Deposit.ts:132

Defined in dfinance/definitions/Deposit.ts:132


depositor

depositor: Address

Defined in cosmos/definitions/Deposit.ts:133

Defined in dfinance/definitions/Deposit.ts:133


proposal_id

proposal_id: string

Defined in cosmos/definitions/Deposit.ts:134

Defined in dfinance/definitions/Deposit.ts:134

JSDKIKeyPair

Interface: IKeyPair

Hierarchy

  • IKeyPair

Index

Properties

Properties

privateKey

privateKey: Buffer

Defined in extra/crypto/index.ts:10


publicKey

publicKey: Uint8Array

Defined in extra/crypto/index.ts:11

JSDKITimer

Interface: ITimer

Hierarchy

  • ITimer

Index

Properties

Properties

first

first: number

Defined in cosmos/utils/Timer.ts:5

Defined in dfinance/utils/Timer.ts:5


last

last: number

Defined in cosmos/utils/Timer.ts:6

Defined in dfinance/utils/Timer.ts:6


tick

tick: number

Defined in cosmos/utils/Timer.ts:7

Defined in dfinance/utils/Timer.ts:7

JSDKIWallet

Interface: IWallet

Hierarchy

  • IWallet

Index

Properties

Properties

cosmosAddress

cosmosAddress: string

Defined in extra/crypto/index.ts:18


Optional mnemonic

mnemonic? : string

Defined in extra/crypto/index.ts:17


path

path: string

Defined in extra/crypto/index.ts:19


privateKey

privateKey: string

Defined in extra/crypto/index.ts:15


publicKey

publicKey: string

Defined in extra/crypto/index.ts:16

JSDKKvPair

Interface: KvPair

Hierarchy

  • KvPair

Index

Properties

Properties

key

key: string

Defined in cosmos/definitions/KvPair.ts:132

Defined in dfinance/definitions/KvPair.ts:132


value

value: string

Defined in cosmos/definitions/KvPair.ts:133

Defined in dfinance/definitions/KvPair.ts:133

JSDKPaginatedQueryTxs

Interface: PaginatedQueryTxs

Hierarchy

  • PaginatedQueryTxs

Index

Properties

Properties

count

count: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:132

Defined in dfinance/definitions/PaginatedQueryTxs.ts:132


limit

limit: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:133

Defined in dfinance/definitions/PaginatedQueryTxs.ts:133


page_number

page_number: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:134

Defined in dfinance/definitions/PaginatedQueryTxs.ts:134


page_total

page_total: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:135

Defined in dfinance/definitions/PaginatedQueryTxs.ts:135


total_count

total_count: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:136

Defined in dfinance/definitions/PaginatedQueryTxs.ts:136


txs

txs: TxQuery[]

Defined in cosmos/definitions/PaginatedQueryTxs.ts:137

Defined in dfinance/definitions/PaginatedQueryTxs.ts:137

JSDKParamChange

Interface: ParamChange

Hierarchy

  • ParamChange

Index

Properties

Properties

key

key: string

Defined in cosmos/definitions/ParamChange.ts:132

Defined in dfinance/definitions/ParamChange.ts:132


subkey

subkey: string

Defined in cosmos/definitions/ParamChange.ts:133

Defined in dfinance/definitions/ParamChange.ts:133


subspace

subspace: string

Defined in cosmos/definitions/ParamChange.ts:134

Defined in dfinance/definitions/ParamChange.ts:134


value

value: object

Defined in cosmos/definitions/ParamChange.ts:135

Defined in dfinance/definitions/ParamChange.ts:135

JSDKProposer

Interface: Proposer

Hierarchy

  • Proposer

Index

Properties

Properties

proposal_id

proposal_id: string

Defined in cosmos/definitions/Proposer.ts:132

Defined in dfinance/definitions/Proposer.ts:132


proposer

proposer: string

Defined in cosmos/definitions/Proposer.ts:133

Defined in dfinance/definitions/Proposer.ts:133

JSDKPublicKey

Interface: PublicKey

Hierarchy

  • PublicKey

Index

Properties

Properties

type

type: string

Defined in cosmos/definitions/PublicKey.ts:132

Defined in dfinance/definitions/PublicKey.ts:132


value

value: string

Defined in cosmos/definitions/PublicKey.ts:133

Defined in dfinance/definitions/PublicKey.ts:133

JSDKRedelegation

Interface: Redelegation

Hierarchy

  • Redelegation

Index

Properties

Properties

delegator_address

delegator_address: string

Defined in cosmos/definitions/Redelegation.ts:132

Defined in dfinance/definitions/Redelegation.ts:132


entries

entries: Redelegation[]

Defined in cosmos/definitions/Redelegation.ts:133

Defined in dfinance/definitions/Redelegation.ts:133


validator_dst_address

validator_dst_address: string

Defined in cosmos/definitions/Redelegation.ts:134

Defined in dfinance/definitions/Redelegation.ts:134


validator_src_address

validator_src_address: string

Defined in cosmos/definitions/Redelegation.ts:135

Defined in dfinance/definitions/Redelegation.ts:135

JSDKRedelegationEntry

Interface: RedelegationEntry

Hierarchy

  • RedelegationEntry

Index

Properties

Properties

balance

balance: string

Defined in cosmos/definitions/RedelegationEntry.ts:132

Defined in dfinance/definitions/RedelegationEntry.ts:132


completion_time

completion_time: number

Defined in cosmos/definitions/RedelegationEntry.ts:133

Defined in dfinance/definitions/RedelegationEntry.ts:133


creation_height

creation_height: number

Defined in cosmos/definitions/RedelegationEntry.ts:134

Defined in dfinance/definitions/RedelegationEntry.ts:134


initial_balance

initial_balance: string

Defined in cosmos/definitions/RedelegationEntry.ts:135

Defined in dfinance/definitions/RedelegationEntry.ts:135


shares_dst

shares_dst: string

Defined in cosmos/definitions/RedelegationEntry.ts:136

Defined in dfinance/definitions/RedelegationEntry.ts:136

JSDKRestBaseReq

Interface: RestBaseReq

Hierarchy

  • RestBaseReq

Index

Properties

Properties

account_number

account_number: number

Defined in cosmos/definitions/RestBaseReq.ts:132

Defined in dfinance/definitions/RestBaseReq.ts:132


chain_id

chain_id: string

Defined in cosmos/definitions/RestBaseReq.ts:133

Defined in dfinance/definitions/RestBaseReq.ts:133


fees

fees: TypesCoins

Defined in cosmos/definitions/RestBaseReq.ts:134

Defined in dfinance/definitions/RestBaseReq.ts:134


from

from: string

Defined in cosmos/definitions/RestBaseReq.ts:135

Defined in dfinance/definitions/RestBaseReq.ts:135


gas

gas: string

Defined in cosmos/definitions/RestBaseReq.ts:136

Defined in dfinance/definitions/RestBaseReq.ts:136


gas_adjustment

gas_adjustment: string

Defined in cosmos/definitions/RestBaseReq.ts:137

Defined in dfinance/definitions/RestBaseReq.ts:137


gas_prices

gas_prices: TypesDecCoins

Defined in cosmos/definitions/RestBaseReq.ts:138

Defined in dfinance/definitions/RestBaseReq.ts:138


memo

memo: string

Defined in cosmos/definitions/RestBaseReq.ts:139

Defined in dfinance/definitions/RestBaseReq.ts:139


sequence

sequence: number

Defined in cosmos/definitions/RestBaseReq.ts:140

Defined in dfinance/definitions/RestBaseReq.ts:140


simulate

simulate: boolean

Defined in cosmos/definitions/RestBaseReq.ts:141

Defined in dfinance/definitions/RestBaseReq.ts:141

JSDKRestCcRespGetCurrencies

Interface: RestCcRespGetCurrencies

Hierarchy

  • RestCcRespGetCurrencies

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestCcRespGetCurrencies.ts:132

Defined in dfinance/definitions/RestCcRespGetCurrencies.ts:132


result

result: CcstorageCurrencies

Defined in cosmos/definitions/RestCcRespGetCurrencies.ts:133

Defined in dfinance/definitions/RestCcRespGetCurrencies.ts:133

JSDKRestCcRespGetCurrency

Interface: RestCcRespGetCurrency

Hierarchy

  • RestCcRespGetCurrency

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestCcRespGetCurrency.ts:132

Defined in dfinance/definitions/RestCcRespGetCurrency.ts:132


result

result: CcstorageCurrency

Defined in cosmos/definitions/RestCcRespGetCurrency.ts:133

Defined in dfinance/definitions/RestCcRespGetCurrency.ts:133

JSDKRestCcRespGetIssue

Interface: RestCcRespGetIssue

Hierarchy

  • RestCcRespGetIssue

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestCcRespGetIssue.ts:132

Defined in dfinance/definitions/RestCcRespGetIssue.ts:132


result

result: TypesIssue

Defined in cosmos/definitions/RestCcRespGetIssue.ts:133

Defined in dfinance/definitions/RestCcRespGetIssue.ts:133

JSDKRestCcRespGetWithdraw

Interface: RestCcRespGetWithdraw

Hierarchy

  • RestCcRespGetWithdraw

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestCcRespGetWithdraw.ts:132

Defined in dfinance/definitions/RestCcRespGetWithdraw.ts:132


result

result: TypesWithdraw

Defined in cosmos/definitions/RestCcRespGetWithdraw.ts:133

Defined in dfinance/definitions/RestCcRespGetWithdraw.ts:133

JSDKRestCcRespGetWithdraws

Interface: RestCcRespGetWithdraws

Hierarchy

  • RestCcRespGetWithdraws

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestCcRespGetWithdraws.ts:132

Defined in dfinance/definitions/RestCcRespGetWithdraws.ts:132


result

result: TypesWithdraws

Defined in cosmos/definitions/RestCcRespGetWithdraws.ts:133

Defined in dfinance/definitions/RestCcRespGetWithdraws.ts:133

JSDKRestCcRespStdTx

Interface: RestCcRespStdTx

Hierarchy

  • RestCcRespStdTx

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestCcRespStdTx.ts:132

Defined in dfinance/definitions/RestCcRespStdTx.ts:132


result

result: AuthStdTx

Defined in cosmos/definitions/RestCcRespStdTx.ts:133

Defined in dfinance/definitions/RestCcRespStdTx.ts:133

JSDKRestCompileReq

Interface: RestCompileReq

Hierarchy

  • RestCompileReq

Index

Properties

Properties

address

address: string

Defined in cosmos/definitions/RestCompileReq.ts:132

Defined in dfinance/definitions/RestCompileReq.ts:132


code

code: string

Defined in cosmos/definitions/RestCompileReq.ts:133

Defined in dfinance/definitions/RestCompileReq.ts:133

JSDKRestConfirmReq

Interface: RestConfirmReq

Hierarchy

  • RestConfirmReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestConfirmReq.ts:132

Defined in dfinance/definitions/RestConfirmReq.ts:132


call_id

call_id: string

Defined in cosmos/definitions/RestConfirmReq.ts:133

Defined in dfinance/definitions/RestConfirmReq.ts:133

JSDKRestErrorResponse

Interface: RestErrorResponse

Hierarchy

  • RestErrorResponse

Index

Properties

Properties

code

code: number

Defined in cosmos/definitions/RestErrorResponse.ts:132

Defined in dfinance/definitions/RestErrorResponse.ts:132


error

error: string

Defined in cosmos/definitions/RestErrorResponse.ts:133

Defined in dfinance/definitions/RestErrorResponse.ts:133

JSDKRestExecuteScriptReq

Interface: RestExecuteScriptReq

Hierarchy

  • RestExecuteScriptReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestExecuteScriptReq.ts:132

Defined in dfinance/definitions/RestExecuteScriptReq.ts:132


move_args

move_args: string[]

Defined in cosmos/definitions/RestExecuteScriptReq.ts:133

Defined in dfinance/definitions/RestExecuteScriptReq.ts:133


move_code

move_code: string

Defined in cosmos/definitions/RestExecuteScriptReq.ts:134

Defined in dfinance/definitions/RestExecuteScriptReq.ts:134

JSDKRestLcsViewReq

Interface: RestLcsViewReq

Hierarchy

  • RestLcsViewReq

Index

Properties

Properties

address

address: string

Defined in cosmos/definitions/RestLcsViewReq.ts:132

Defined in dfinance/definitions/RestLcsViewReq.ts:132


move_path

move_path: string

Defined in cosmos/definitions/RestLcsViewReq.ts:133

Defined in dfinance/definitions/RestLcsViewReq.ts:133


view_request

view_request: string

Defined in cosmos/definitions/RestLcsViewReq.ts:134

Defined in dfinance/definitions/RestLcsViewReq.ts:134

JSDKRestLcsViewResp

Interface: RestLcsViewResp

Hierarchy

  • RestLcsViewResp

Index

Properties

Properties

value

value: string

Defined in cosmos/definitions/RestLcsViewResp.ts:132

Defined in dfinance/definitions/RestLcsViewResp.ts:132

JSDKRestMarketsRespGetMarket

Interface: RestMarketsRespGetMarket

Hierarchy

  • RestMarketsRespGetMarket

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestMarketsRespGetMarket.ts:132

Defined in dfinance/definitions/RestMarketsRespGetMarket.ts:132


result

result: TypesMarket

Defined in cosmos/definitions/RestMarketsRespGetMarket.ts:133

Defined in dfinance/definitions/RestMarketsRespGetMarket.ts:133

JSDKRestMarketsRespGetMarkets

Interface: RestMarketsRespGetMarkets

Hierarchy

  • RestMarketsRespGetMarkets

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestMarketsRespGetMarkets.ts:132

Defined in dfinance/definitions/RestMarketsRespGetMarkets.ts:132


result

result: TypesMarkets

Defined in cosmos/definitions/RestMarketsRespGetMarkets.ts:133

Defined in dfinance/definitions/RestMarketsRespGetMarkets.ts:133

JSDKRestMsRespGetCall

Interface: RestMsRespGetCall

Hierarchy

  • RestMsRespGetCall

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestMsRespGetCall.ts:132

Defined in dfinance/definitions/RestMsRespGetCall.ts:132


result

result: TypesCallResp

Defined in cosmos/definitions/RestMsRespGetCall.ts:133

Defined in dfinance/definitions/RestMsRespGetCall.ts:133

JSDKRestMsRespGetCalls

Interface: RestMsRespGetCalls

Hierarchy

  • RestMsRespGetCalls

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestMsRespGetCalls.ts:132

Defined in dfinance/definitions/RestMsRespGetCalls.ts:132


result

result: TypesCallsResp

Defined in cosmos/definitions/RestMsRespGetCalls.ts:133

Defined in dfinance/definitions/RestMsRespGetCalls.ts:133

JSDKRestOracleRespGetAssets

Interface: RestOracleRespGetAssets

Hierarchy

  • RestOracleRespGetAssets

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestOracleRespGetAssets.ts:132

Defined in dfinance/definitions/RestOracleRespGetAssets.ts:132


result

result: TypesAssets

Defined in cosmos/definitions/RestOracleRespGetAssets.ts:133

Defined in dfinance/definitions/RestOracleRespGetAssets.ts:133

JSDKRestOracleRespGetPrice

Interface: RestOracleRespGetPrice

Hierarchy

  • RestOracleRespGetPrice

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestOracleRespGetPrice.ts:132

Defined in dfinance/definitions/RestOracleRespGetPrice.ts:132


result

result: TypesCurrentPrice

Defined in cosmos/definitions/RestOracleRespGetPrice.ts:133

Defined in dfinance/definitions/RestOracleRespGetPrice.ts:133

JSDKRestOracleRespGetRawPrices

Interface: RestOracleRespGetRawPrices

Hierarchy

  • RestOracleRespGetRawPrices

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestOracleRespGetRawPrices.ts:132

Defined in dfinance/definitions/RestOracleRespGetRawPrices.ts:132


result

result: TypesPostedPrice[]

Defined in cosmos/definitions/RestOracleRespGetRawPrices.ts:133

Defined in dfinance/definitions/RestOracleRespGetRawPrices.ts:133

JSDKRestOrdersRespGetOrder

Interface: RestOrdersRespGetOrder

Hierarchy

  • RestOrdersRespGetOrder

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestOrdersRespGetOrder.ts:132

Defined in dfinance/definitions/RestOrdersRespGetOrder.ts:132


result

result: TypesOrder

Defined in cosmos/definitions/RestOrdersRespGetOrder.ts:133

Defined in dfinance/definitions/RestOrdersRespGetOrder.ts:133

JSDKRestOrdersRespGetOrders

Interface: RestOrdersRespGetOrders

Hierarchy

  • RestOrdersRespGetOrders

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestOrdersRespGetOrders.ts:132

Defined in dfinance/definitions/RestOrdersRespGetOrders.ts:132


result

result: TypesOrders

Defined in cosmos/definitions/RestOrdersRespGetOrders.ts:133

Defined in dfinance/definitions/RestOrdersRespGetOrders.ts:133

JSDKRestOrdersRespPostOrder

Interface: RestOrdersRespPostOrder

Hierarchy

  • RestOrdersRespPostOrder

Index

Properties

Properties

type

type: string

Defined in cosmos/definitions/RestOrdersRespPostOrder.ts:132

Defined in dfinance/definitions/RestOrdersRespPostOrder.ts:132


value

value: object

Defined in cosmos/definitions/RestOrdersRespPostOrder.ts:133

Defined in dfinance/definitions/RestOrdersRespPostOrder.ts:133

Type declaration:
  • fee: TypesStdFee

  • memo: string

  • msg: RestPostOrderMsg

  • signatures: TypesStdSignature[]

JSDKRestOrdersRespRevokeOrder

Interface: RestOrdersRespRevokeOrder

Hierarchy

  • RestOrdersRespRevokeOrder

Index

Properties

Properties

type

type: string

Defined in cosmos/definitions/RestOrdersRespRevokeOrder.ts:132

Defined in dfinance/definitions/RestOrdersRespRevokeOrder.ts:132


value

value: object

Defined in cosmos/definitions/RestOrdersRespRevokeOrder.ts:133

Defined in dfinance/definitions/RestOrdersRespRevokeOrder.ts:133

Type declaration:
  • fee: TypesStdFee

  • memo: string

  • msg: RestRevokeOrderMsg

  • signatures: TypesStdSignature[]

JSDKRestPoaRespGetValidators

Interface: RestPoaRespGetValidators

Hierarchy

  • RestPoaRespGetValidators

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestPoaRespGetValidators.ts:132

Defined in dfinance/definitions/RestPoaRespGetValidators.ts:132


result

result: TypesValidatorsConfirmationsResp

Defined in cosmos/definitions/RestPoaRespGetValidators.ts:133

Defined in dfinance/definitions/RestPoaRespGetValidators.ts:133

JSDKRestPostOrderMsg

Interface: RestPostOrderMsg

Hierarchy

  • RestPostOrderMsg

Index

Properties

Properties

type

type: string

Defined in cosmos/definitions/RestPostOrderMsg.ts:132

Defined in dfinance/definitions/RestPostOrderMsg.ts:132


value

value: TypesMsgPostOrder

Defined in cosmos/definitions/RestPostOrderMsg.ts:133

Defined in dfinance/definitions/RestPostOrderMsg.ts:133

JSDKRestPostOrderReq

Interface: RestPostOrderReq

Hierarchy

  • RestPostOrderReq

Index

Properties

Properties

asset_code

asset_code: string

Defined in cosmos/definitions/RestPostOrderReq.ts:132

Defined in dfinance/definitions/RestPostOrderReq.ts:132


base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestPostOrderReq.ts:133

Defined in dfinance/definitions/RestPostOrderReq.ts:133


direction

direction: string

Defined in cosmos/definitions/RestPostOrderReq.ts:134

Defined in dfinance/definitions/RestPostOrderReq.ts:134


price

price: string

Defined in cosmos/definitions/RestPostOrderReq.ts:135

Defined in dfinance/definitions/RestPostOrderReq.ts:135


quantity

quantity: string

Defined in cosmos/definitions/RestPostOrderReq.ts:136

Defined in dfinance/definitions/RestPostOrderReq.ts:136


ttl_in_sec

ttl_in_sec: string

Defined in cosmos/definitions/RestPostOrderReq.ts:137

Defined in dfinance/definitions/RestPostOrderReq.ts:137

JSDKRestPostPriceReq

Interface: RestPostPriceReq

Hierarchy

  • RestPostPriceReq

Index

Properties

Properties

asset_code

asset_code: string

Defined in cosmos/definitions/RestPostPriceReq.ts:132

Defined in dfinance/definitions/RestPostPriceReq.ts:132


base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestPostPriceReq.ts:133

Defined in dfinance/definitions/RestPostPriceReq.ts:133


price

price: string

Defined in cosmos/definitions/RestPostPriceReq.ts:134

Defined in dfinance/definitions/RestPostPriceReq.ts:134


received_at

received_at: string

Defined in cosmos/definitions/RestPostPriceReq.ts:135

Defined in dfinance/definitions/RestPostPriceReq.ts:135

JSDKRestPublishModuleReq

Interface: RestPublishModuleReq

Hierarchy

  • RestPublishModuleReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestPublishModuleReq.ts:132

Defined in dfinance/definitions/RestPublishModuleReq.ts:132


move_code

move_code: string

Defined in cosmos/definitions/RestPublishModuleReq.ts:133

Defined in dfinance/definitions/RestPublishModuleReq.ts:133

JSDKRestRevokeOrderMsg

Interface: RestRevokeOrderMsg

Hierarchy

  • RestRevokeOrderMsg

Index

Properties

Properties

type

type: string

Defined in cosmos/definitions/RestRevokeOrderMsg.ts:132

Defined in dfinance/definitions/RestRevokeOrderMsg.ts:132


value

value: TypesMsgRevokeOrder

Defined in cosmos/definitions/RestRevokeOrderMsg.ts:133

Defined in dfinance/definitions/RestRevokeOrderMsg.ts:133

JSDKRestRevokeOrderReq

Interface: RestRevokeOrderReq

Hierarchy

  • RestRevokeOrderReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestRevokeOrderReq.ts:132

Defined in dfinance/definitions/RestRevokeOrderReq.ts:132


order_id

order_id: string

Defined in cosmos/definitions/RestRevokeOrderReq.ts:133

Defined in dfinance/definitions/RestRevokeOrderReq.ts:133

JSDKRestRevokeReq

Interface: RestRevokeReq

Hierarchy

  • RestRevokeReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestRevokeReq.ts:132

Defined in dfinance/definitions/RestRevokeReq.ts:132


call_id

call_id: string

Defined in cosmos/definitions/RestRevokeReq.ts:133

Defined in dfinance/definitions/RestRevokeReq.ts:133

JSDKRestSubmitIssueReq

Interface: RestSubmitIssueReq

Hierarchy

  • RestSubmitIssueReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestSubmitIssueReq.ts:132

Defined in dfinance/definitions/RestSubmitIssueReq.ts:132


coin

coin: TypesCoin

Defined in cosmos/definitions/RestSubmitIssueReq.ts:133

Defined in dfinance/definitions/RestSubmitIssueReq.ts:133


id

id: string

Defined in cosmos/definitions/RestSubmitIssueReq.ts:134

Defined in dfinance/definitions/RestSubmitIssueReq.ts:134


payee

payee: string

Defined in cosmos/definitions/RestSubmitIssueReq.ts:135

Defined in dfinance/definitions/RestSubmitIssueReq.ts:135

JSDKRestVmData

Interface: RestVmData

Hierarchy

  • RestVmData

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestVmData.ts:132

Defined in dfinance/definitions/RestVmData.ts:132


result

result: TypesValueResp

Defined in cosmos/definitions/RestVmData.ts:133

Defined in dfinance/definitions/RestVmData.ts:133

JSDKRestVmRespCompile

Interface: RestVmRespCompile

Hierarchy

  • RestVmRespCompile

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestVmRespCompile.ts:132

Defined in dfinance/definitions/RestVmRespCompile.ts:132


result

result: VmClientMoveFile

Defined in cosmos/definitions/RestVmRespCompile.ts:133

Defined in dfinance/definitions/RestVmRespCompile.ts:133

JSDKRestVmRespLcsView

Interface: RestVmRespLcsView

Hierarchy

  • RestVmRespLcsView

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestVmRespLcsView.ts:132

Defined in dfinance/definitions/RestVmRespLcsView.ts:132


result

result: RestLcsViewResp

Defined in cosmos/definitions/RestVmRespLcsView.ts:133

Defined in dfinance/definitions/RestVmRespLcsView.ts:133

JSDKRestVmRespStdTx

Interface: RestVmRespStdTx

Hierarchy

  • RestVmRespStdTx

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestVmRespStdTx.ts:132

Defined in dfinance/definitions/RestVmRespStdTx.ts:132


result

result: AuthStdTx

Defined in cosmos/definitions/RestVmRespStdTx.ts:133

Defined in dfinance/definitions/RestVmRespStdTx.ts:133

JSDKRestVmTxStatus

Interface: RestVmTxStatus

Hierarchy

  • RestVmTxStatus

Index

Properties

Properties

height

height: number

Defined in cosmos/definitions/RestVmTxStatus.ts:132

Defined in dfinance/definitions/RestVmTxStatus.ts:132


result

result: TypesTxVmStatus

Defined in cosmos/definitions/RestVmTxStatus.ts:133

Defined in dfinance/definitions/RestVmTxStatus.ts:133

JSDKRestWithdrawReq

Interface: RestWithdrawReq

Hierarchy

  • RestWithdrawReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in cosmos/definitions/RestWithdrawReq.ts:132

Defined in dfinance/definitions/RestWithdrawReq.ts:132


coin

coin: TypesCoin

Defined in cosmos/definitions/RestWithdrawReq.ts:133

Defined in dfinance/definitions/RestWithdrawReq.ts:133


pegzone_chain_id

pegzone_chain_id: string

Defined in cosmos/definitions/RestWithdrawReq.ts:134

Defined in dfinance/definitions/RestWithdrawReq.ts:134


pegzone_payee

pegzone_payee: string

Defined in cosmos/definitions/RestWithdrawReq.ts:135

Defined in dfinance/definitions/RestWithdrawReq.ts:135

JSDKSigningInfo

Interface: SigningInfo

Hierarchy

  • SigningInfo

Index

Properties

Properties

index_offset

index_offset: string

Defined in cosmos/definitions/SigningInfo.ts:132

Defined in dfinance/definitions/SigningInfo.ts:132


jailed_until

jailed_until: string

Defined in cosmos/definitions/SigningInfo.ts:133

Defined in dfinance/definitions/SigningInfo.ts:133


missed_blocks_counter

missed_blocks_counter: string

Defined in cosmos/definitions/SigningInfo.ts:134

Defined in dfinance/definitions/SigningInfo.ts:134


start_height

start_height: string

Defined in cosmos/definitions/SigningInfo.ts:135

Defined in dfinance/definitions/SigningInfo.ts:135

JSDKStdTx

Interface: StdTx

Hierarchy

  • StdTx

Index

Properties

Properties

fee

fee: object

Defined in cosmos/definitions/StdTx.ts:132

Defined in dfinance/definitions/StdTx.ts:132

Type declaration:
  • amount: Coin[]

  • gas: string


memo

memo: string

Defined in cosmos/definitions/StdTx.ts:133

Defined in dfinance/definitions/StdTx.ts:133


msg

msg: Msg[]

Defined in cosmos/definitions/StdTx.ts:134

Defined in dfinance/definitions/StdTx.ts:134


signature

signature: object

Defined in cosmos/definitions/StdTx.ts:135

Defined in dfinance/definitions/StdTx.ts:135

Type declaration:
  • account_number: string

  • pub_key(): object

    • type: string

    • value: string

  • sequence: string

  • signature: string

JSDKSupply

Interface: Supply

Hierarchy

  • Supply

Index

Properties

Properties

total

total: Coin[]

Defined in cosmos/definitions/Supply.ts:132

Defined in dfinance/definitions/Supply.ts:132

JSDKTallyResult

Interface: TallyResult

Hierarchy

  • TallyResult

Index

Properties

Properties

abstain

abstain: string

Defined in cosmos/definitions/TallyResult.ts:132

Defined in dfinance/definitions/TallyResult.ts:132


false

false: string

Defined in cosmos/definitions/TallyResult.ts:133

Defined in dfinance/definitions/TallyResult.ts:133


no_with_veto

no_with_veto: string

Defined in cosmos/definitions/TallyResult.ts:134

Defined in dfinance/definitions/TallyResult.ts:134


true

true: string

Defined in cosmos/definitions/TallyResult.ts:135

Defined in dfinance/definitions/TallyResult.ts:135

JSDKTendermintValidator

Interface: TendermintValidator

Hierarchy

  • TendermintValidator

Index

Properties

Properties

address

address: ValidatorAddress

Defined in cosmos/definitions/TendermintValidator.ts:132

Defined in dfinance/definitions/TendermintValidator.ts:132


proposer_priority

proposer_priority: string

Defined in cosmos/definitions/TendermintValidator.ts:133

Defined in dfinance/definitions/TendermintValidator.ts:133


pub_key

pub_key: string

Defined in cosmos/definitions/TendermintValidator.ts:134

Defined in dfinance/definitions/TendermintValidator.ts:134


voting_power

voting_power: string

Defined in cosmos/definitions/TendermintValidator.ts:135

Defined in dfinance/definitions/TendermintValidator.ts:135

JSDKTextProposal

Interface: TextProposal

Hierarchy

  • TextProposal

Index

Properties

Properties

description

description: string

Defined in cosmos/definitions/TextProposal.ts:132

Defined in dfinance/definitions/TextProposal.ts:132


final_tally_result

final_tally_result: TallyResult

Defined in cosmos/definitions/TextProposal.ts:133

Defined in dfinance/definitions/TextProposal.ts:133


proposal_id

proposal_id: number

Defined in cosmos/definitions/TextProposal.ts:134

Defined in dfinance/definitions/TextProposal.ts:134


proposal_status

proposal_status: string

Defined in cosmos/definitions/TextProposal.ts:135

Defined in dfinance/definitions/TextProposal.ts:135


proposal_type

proposal_type: string

Defined in cosmos/definitions/TextProposal.ts:136

Defined in dfinance/definitions/TextProposal.ts:136


submit_time

submit_time: string

Defined in cosmos/definitions/TextProposal.ts:137

Defined in dfinance/definitions/TextProposal.ts:137


title

title: string

Defined in cosmos/definitions/TextProposal.ts:138

Defined in dfinance/definitions/TextProposal.ts:138


total_deposit

total_deposit: Coin[]

Defined in cosmos/definitions/TextProposal.ts:139

Defined in dfinance/definitions/TextProposal.ts:139


voting_start_time

voting_start_time: string

Defined in cosmos/definitions/TextProposal.ts:140

Defined in dfinance/definitions/TextProposal.ts:140

JSDKTxQuery

Interface: TxQuery

Hierarchy

  • TxQuery

Index

Properties

Properties

hash

hash: string

Defined in cosmos/definitions/TxQuery.ts:132

Defined in dfinance/definitions/TxQuery.ts:132


height

height: number

Defined in cosmos/definitions/TxQuery.ts:133

Defined in dfinance/definitions/TxQuery.ts:133


result

result: object

Defined in cosmos/definitions/TxQuery.ts:134

Defined in dfinance/definitions/TxQuery.ts:134

Type declaration:
  • gas_used: string

  • gas_wanted: string

  • log: string

  • tags: KvPair[]


tx

tx: StdTx

Defined in cosmos/definitions/TxQuery.ts:135

Defined in dfinance/definitions/TxQuery.ts:135

JSDKTypesAsset

Interface: TypesAsset

Hierarchy

  • TypesAsset

Index

Properties

Properties

active

active: boolean

Defined in cosmos/definitions/TypesAsset.ts:132

Defined in dfinance/definitions/TypesAsset.ts:132


asset_code

asset_code: string

Defined in cosmos/definitions/TypesAsset.ts:133

Defined in dfinance/definitions/TypesAsset.ts:133


oracles

oracles: TypesOracles

Defined in cosmos/definitions/TypesAsset.ts:134

Defined in dfinance/definitions/TypesAsset.ts:134

JSDKTypesCall

Interface: TypesCall

Hierarchy

  • TypesCall

Index

Properties

Properties

approved

approved: boolean

Defined in cosmos/definitions/TypesCall.ts:132

Defined in dfinance/definitions/TypesCall.ts:132


creator

creator: string

Defined in cosmos/definitions/TypesCall.ts:133

Defined in dfinance/definitions/TypesCall.ts:133


error

error: string

Defined in cosmos/definitions/TypesCall.ts:134

Defined in dfinance/definitions/TypesCall.ts:134


executed

executed: boolean

Defined in cosmos/definitions/TypesCall.ts:135

Defined in dfinance/definitions/TypesCall.ts:135


failed

failed: boolean

Defined in cosmos/definitions/TypesCall.ts:136

Defined in dfinance/definitions/TypesCall.ts:136


height

height: number

Defined in cosmos/definitions/TypesCall.ts:137

Defined in dfinance/definitions/TypesCall.ts:137


id

id: string

Defined in cosmos/definitions/TypesCall.ts:138

Defined in dfinance/definitions/TypesCall.ts:138


msg_data

msg_data: MsmoduleMsMsg

Defined in cosmos/definitions/TypesCall.ts:139

Defined in dfinance/definitions/TypesCall.ts:139


msg_route

msg_route: string

Defined in cosmos/definitions/TypesCall.ts:140

Defined in dfinance/definitions/TypesCall.ts:140


msg_type

msg_type: string

Defined in cosmos/definitions/TypesCall.ts:141

Defined in dfinance/definitions/TypesCall.ts:141


rejected

rejected: boolean

Defined in cosmos/definitions/TypesCall.ts:142

Defined in dfinance/definitions/TypesCall.ts:142


unique_id

unique_id: string

Defined in cosmos/definitions/TypesCall.ts:143

Defined in dfinance/definitions/TypesCall.ts:143

JSDKTypesCallResp

Interface: TypesCallResp

Hierarchy

  • TypesCallResp

Index

Properties

Properties

call

call: TypesCall

Defined in cosmos/definitions/TypesCallResp.ts:132

Defined in dfinance/definitions/TypesCallResp.ts:132


votes

votes: string[]

Defined in cosmos/definitions/TypesCallResp.ts:133

Defined in dfinance/definitions/TypesCallResp.ts:133

JSDKTypesCoin

Interface: TypesCoin

Hierarchy

  • TypesCoin

Index

Properties

Properties

amount

amount: TypesInt

Defined in cosmos/definitions/TypesCoin.ts:132

Defined in dfinance/definitions/TypesCoin.ts:132


denom

denom: string

Defined in cosmos/definitions/TypesCoin.ts:133

Defined in dfinance/definitions/TypesCoin.ts:133

JSDKTypesCommission

Interface: TypesCommission

Hierarchy

  • TypesCommission

Index

Properties

Properties

max_change_rate

max_change_rate: TypesDec

Defined in cosmos/definitions/TypesCommission.ts:132

Defined in dfinance/definitions/TypesCommission.ts:132


max_rate

max_rate: TypesDec

Defined in cosmos/definitions/TypesCommission.ts:133

Defined in dfinance/definitions/TypesCommission.ts:133


rate

rate: TypesDec

Defined in cosmos/definitions/TypesCommission.ts:134

Defined in dfinance/definitions/TypesCommission.ts:134


update_time

update_time: string

Defined in cosmos/definitions/TypesCommission.ts:135

Defined in dfinance/definitions/TypesCommission.ts:135

JSDKTypesCurrency

Interface: TypesCurrency

Hierarchy

  • TypesCurrency

Index

Properties

Properties

balance_path_hex

balance_path_hex: string

Defined in cosmos/definitions/TypesCurrency.ts:132

Defined in dfinance/definitions/TypesCurrency.ts:132


decimals

decimals: number

Defined in cosmos/definitions/TypesCurrency.ts:133

Defined in dfinance/definitions/TypesCurrency.ts:133


denom

denom: string

Defined in cosmos/definitions/TypesCurrency.ts:134

Defined in dfinance/definitions/TypesCurrency.ts:134


info_path_hex

info_path_hex: string

Defined in cosmos/definitions/TypesCurrency.ts:135

Defined in dfinance/definitions/TypesCurrency.ts:135


supply

supply: string

Defined in cosmos/definitions/TypesCurrency.ts:136

Defined in dfinance/definitions/TypesCurrency.ts:136

JSDKTypesCurrentPrice

Interface: TypesCurrentPrice

Hierarchy

  • TypesCurrentPrice

Index

Properties

Properties

asset_code

asset_code: string

Defined in cosmos/definitions/TypesCurrentPrice.ts:132

Defined in dfinance/definitions/TypesCurrentPrice.ts:132


price

price: string

Defined in cosmos/definitions/TypesCurrentPrice.ts:133

Defined in dfinance/definitions/TypesCurrentPrice.ts:133


received_at

received_at: string

Defined in cosmos/definitions/TypesCurrentPrice.ts:134

Defined in dfinance/definitions/TypesCurrentPrice.ts:134

JSDKTypesDecCoin

Interface: TypesDecCoin

Hierarchy

  • TypesDecCoin

Index

Properties

Properties

amount

amount: TypesDec

Defined in cosmos/definitions/TypesDecCoin.ts:132

Defined in dfinance/definitions/TypesDecCoin.ts:132


denom

denom: string

Defined in cosmos/definitions/TypesDecCoin.ts:133

Defined in dfinance/definitions/TypesDecCoin.ts:133

JSDKTypesDescription

Interface: TypesDescription

Hierarchy

  • TypesDescription

Index

Properties

Properties

details

details: string

Defined in cosmos/definitions/TypesDescription.ts:132

Defined in dfinance/definitions/TypesDescription.ts:132


identity

identity: string

Defined in cosmos/definitions/TypesDescription.ts:133

Defined in dfinance/definitions/TypesDescription.ts:133


moniker

moniker: string

Defined in cosmos/definitions/TypesDescription.ts:134

Defined in dfinance/definitions/TypesDescription.ts:134


security_contact

security_contact: string

Defined in cosmos/definitions/TypesDescription.ts:135

Defined in dfinance/definitions/TypesDescription.ts:135


website

website: string

Defined in cosmos/definitions/TypesDescription.ts:136

Defined in dfinance/definitions/TypesDescription.ts:136

JSDKTypesIssue

Interface: TypesIssue

Hierarchy

  • TypesIssue

Index

Properties

Properties

coin

coin: string

Defined in cosmos/definitions/TypesIssue.ts:132

Defined in dfinance/definitions/TypesIssue.ts:132


payee

payee: string

Defined in cosmos/definitions/TypesIssue.ts:133

Defined in dfinance/definitions/TypesIssue.ts:133

JSDKTypesMarket

Interface: TypesMarket

Hierarchy

  • TypesMarket

Index

Properties

Properties

base_asset_denom

base_asset_denom: string

Defined in cosmos/definitions/TypesMarket.ts:132

Defined in dfinance/definitions/TypesMarket.ts:132


id

id: string

Defined in cosmos/definitions/TypesMarket.ts:133

Defined in dfinance/definitions/TypesMarket.ts:133


quote_asset_denom

quote_asset_denom: string

Defined in cosmos/definitions/TypesMarket.ts:134

Defined in dfinance/definitions/TypesMarket.ts:134

JSDKTypesMarketExtended

Interface: TypesMarketExtended

Hierarchy

  • TypesMarketExtended

Index

Properties

Properties

base_currency

base_currency: CcstorageCurrency

Defined in cosmos/definitions/TypesMarketExtended.ts:132

Defined in dfinance/definitions/TypesMarketExtended.ts:132


id

id: string

Defined in cosmos/definitions/TypesMarketExtended.ts:133

Defined in dfinance/definitions/TypesMarketExtended.ts:133


quote_currency

quote_currency: CcstorageCurrency

Defined in cosmos/definitions/TypesMarketExtended.ts:134

Defined in dfinance/definitions/TypesMarketExtended.ts:134

JSDKTypesMsgPostOrder

Interface: TypesMsgPostOrder

Hierarchy

  • TypesMsgPostOrder

Index

Properties

Properties

asset_code

asset_code: string

Defined in cosmos/definitions/TypesMsgPostOrder.ts:132

Defined in dfinance/definitions/TypesMsgPostOrder.ts:132


direction

direction: string

Defined in cosmos/definitions/TypesMsgPostOrder.ts:133

Defined in dfinance/definitions/TypesMsgPostOrder.ts:133


owner

owner: TypesAccAddress

Defined in cosmos/definitions/TypesMsgPostOrder.ts:134

Defined in dfinance/definitions/TypesMsgPostOrder.ts:134


price

price: TypesUint

Defined in cosmos/definitions/TypesMsgPostOrder.ts:135

Defined in dfinance/definitions/TypesMsgPostOrder.ts:135


quantity

quantity: TypesUint

Defined in cosmos/definitions/TypesMsgPostOrder.ts:136

Defined in dfinance/definitions/TypesMsgPostOrder.ts:136


ttl_in_sec

ttl_in_sec: number

Defined in cosmos/definitions/TypesMsgPostOrder.ts:137

Defined in dfinance/definitions/TypesMsgPostOrder.ts:137

JSDKTypesMsgRevokeOrder

Interface: TypesMsgRevokeOrder

Hierarchy

  • TypesMsgRevokeOrder

Index

Properties

Properties

order_id

order_id: string

Defined in cosmos/definitions/TypesMsgRevokeOrder.ts:132

Defined in dfinance/definitions/TypesMsgRevokeOrder.ts:132


owner

owner: TypesAccAddress

Defined in cosmos/definitions/TypesMsgRevokeOrder.ts:133

Defined in dfinance/definitions/TypesMsgRevokeOrder.ts:133

JSDKTypesOracle

Interface: TypesOracle

Hierarchy

  • TypesOracle

Index

Properties

Properties

address

address: string

Defined in cosmos/definitions/TypesOracle.ts:132

Defined in dfinance/definitions/TypesOracle.ts:132

JSDKTypesOrder

Interface: TypesOrder

Hierarchy

  • TypesOrder

Index

Properties

Properties

created_at

created_at: string

Defined in cosmos/definitions/TypesOrder.ts:132

Defined in dfinance/definitions/TypesOrder.ts:132


direction

direction: string

Defined in cosmos/definitions/TypesOrder.ts:133

Defined in dfinance/definitions/TypesOrder.ts:133


id

id: string

Defined in cosmos/definitions/TypesOrder.ts:134

Defined in dfinance/definitions/TypesOrder.ts:134


market

market: MarketsMarketExtended

Defined in cosmos/definitions/TypesOrder.ts:135

Defined in dfinance/definitions/TypesOrder.ts:135


owner

owner: string

Defined in cosmos/definitions/TypesOrder.ts:136

Defined in dfinance/definitions/TypesOrder.ts:136


price

price: string

Defined in cosmos/definitions/TypesOrder.ts:137

Defined in dfinance/definitions/TypesOrder.ts:137


quantity

quantity: string

Defined in cosmos/definitions/TypesOrder.ts:138

Defined in dfinance/definitions/TypesOrder.ts:138


ttl_dur

ttl_dur: number

Defined in cosmos/definitions/TypesOrder.ts:139

Defined in dfinance/definitions/TypesOrder.ts:139


updated_at

updated_at: string

Defined in cosmos/definitions/TypesOrder.ts:140

Defined in dfinance/definitions/TypesOrder.ts:140

JSDKTypesPostedPrice

Interface: TypesPostedPrice

Hierarchy

  • TypesPostedPrice

Index

Properties

Properties

asset_code

asset_code: string

Defined in cosmos/definitions/TypesPostedPrice.ts:132

Defined in dfinance/definitions/TypesPostedPrice.ts:132


oracle_address

oracle_address: string

Defined in cosmos/definitions/TypesPostedPrice.ts:133

Defined in dfinance/definitions/TypesPostedPrice.ts:133


price

price: string

Defined in cosmos/definitions/TypesPostedPrice.ts:134

Defined in dfinance/definitions/TypesPostedPrice.ts:134


received_at

received_at: string

Defined in cosmos/definitions/TypesPostedPrice.ts:135

Defined in dfinance/definitions/TypesPostedPrice.ts:135

JSDKTypesStdFee

Interface: TypesStdFee

Hierarchy

  • TypesStdFee

Index

Properties

Properties

amount

amount: TypesCoins

Defined in cosmos/definitions/TypesStdFee.ts:132

Defined in dfinance/definitions/TypesStdFee.ts:132


gas

gas: number

Defined in cosmos/definitions/TypesStdFee.ts:133

Defined in dfinance/definitions/TypesStdFee.ts:133

JSDKTypesStdSignature

Interface: TypesStdSignature

Hierarchy

  • TypesStdSignature

Index

Properties

Properties

signature

signature: number[]

Defined in cosmos/definitions/TypesStdSignature.ts:132

Defined in dfinance/definitions/TypesStdSignature.ts:132

JSDKTypesStdTx

Interface: TypesStdTx

Hierarchy

  • TypesStdTx

Index

Properties

Properties

fee

fee: TypesStdFee

Defined in cosmos/definitions/TypesStdTx.ts:132

Defined in dfinance/definitions/TypesStdTx.ts:132


memo

memo: string

Defined in cosmos/definitions/TypesStdTx.ts:133

Defined in dfinance/definitions/TypesStdTx.ts:133


msg

msg: TypesMsg[]

Defined in cosmos/definitions/TypesStdTx.ts:134

Defined in dfinance/definitions/TypesStdTx.ts:134


signatures

signatures: TypesStdSignature[]

Defined in cosmos/definitions/TypesStdTx.ts:135

Defined in dfinance/definitions/TypesStdTx.ts:135

JSDKTypesTxVmStatus

Interface: TypesTxVmStatus

Hierarchy

  • TypesTxVmStatus

Index

Properties

Properties

hash

hash: string

Defined in cosmos/definitions/TypesTxVmStatus.ts:132

Defined in dfinance/definitions/TypesTxVmStatus.ts:132


vm_status

vm_status: TypesVmStatuses

Defined in cosmos/definitions/TypesTxVmStatus.ts:133

Defined in dfinance/definitions/TypesTxVmStatus.ts:133

JSDKTypesValidator

Interface: TypesValidator

Hierarchy

  • TypesValidator

Index

Properties

Properties

commission

commission: TypesCommission

Defined in cosmos/definitions/TypesValidator.ts:132

Defined in dfinance/definitions/TypesValidator.ts:132


consensus_pubkey

consensus_pubkey: CryptoPubKey

Defined in cosmos/definitions/TypesValidator.ts:133

Defined in dfinance/definitions/TypesValidator.ts:133


delegator_shares

delegator_shares: TypesDec

Defined in cosmos/definitions/TypesValidator.ts:134

Defined in dfinance/definitions/TypesValidator.ts:134


description

description: TypesDescription

Defined in cosmos/definitions/TypesValidator.ts:135

Defined in dfinance/definitions/TypesValidator.ts:135


jailed

jailed: boolean

Defined in cosmos/definitions/TypesValidator.ts:136

Defined in dfinance/definitions/TypesValidator.ts:136


min_self_delegation

min_self_delegation: TypesInt

Defined in cosmos/definitions/TypesValidator.ts:137

Defined in dfinance/definitions/TypesValidator.ts:137


operator_address

operator_address: TypesValAddress

Defined in cosmos/definitions/TypesValidator.ts:138

Defined in dfinance/definitions/TypesValidator.ts:138


status

status: string

Defined in cosmos/definitions/TypesValidator.ts:139

Defined in dfinance/definitions/TypesValidator.ts:139


tokens

tokens: TypesInt

Defined in cosmos/definitions/TypesValidator.ts:140

Defined in dfinance/definitions/TypesValidator.ts:140


unbonding_height

unbonding_height: number

Defined in cosmos/definitions/TypesValidator.ts:141

Defined in dfinance/definitions/TypesValidator.ts:141


unbonding_time

unbonding_time: string

Defined in cosmos/definitions/TypesValidator.ts:142

Defined in dfinance/definitions/TypesValidator.ts:142

JSDKTypesValidatorsConfirmationsResp

Interface: TypesValidatorsConfirmationsResp

Hierarchy

  • TypesValidatorsConfirmationsResp

Index

Properties

Properties

confirmations

confirmations: number

Defined in cosmos/definitions/TypesValidatorsConfirmationsResp.ts:132

Defined in dfinance/definitions/TypesValidatorsConfirmationsResp.ts:132


validators

validators: TypesValidators

Defined in cosmos/definitions/TypesValidatorsConfirmationsResp.ts:133

Defined in dfinance/definitions/TypesValidatorsConfirmationsResp.ts:133

JSDKTypesValueResp

Interface: TypesValueResp

Hierarchy

  • TypesValueResp

Index

Properties

Properties

value

value: string

Defined in cosmos/definitions/TypesValueResp.ts:132

Defined in dfinance/definitions/TypesValueResp.ts:132

JSDKTypesVmStatus

Interface: TypesVmStatus

Hierarchy

  • TypesVmStatus

Index

Properties

Properties

major_code

major_code: string

Defined in cosmos/definitions/TypesVmStatus.ts:132

Defined in dfinance/definitions/TypesVmStatus.ts:132


message

message: string

Defined in cosmos/definitions/TypesVmStatus.ts:133

Defined in dfinance/definitions/TypesVmStatus.ts:133


status

status: string

Defined in cosmos/definitions/TypesVmStatus.ts:134

Defined in dfinance/definitions/TypesVmStatus.ts:134


str_code

str_code: string

Defined in cosmos/definitions/TypesVmStatus.ts:135

Defined in dfinance/definitions/TypesVmStatus.ts:135


sub_code

sub_code: string

Defined in cosmos/definitions/TypesVmStatus.ts:136

Defined in dfinance/definitions/TypesVmStatus.ts:136

JSDKTypesWithdraw

Interface: TypesWithdraw

Hierarchy

  • TypesWithdraw

Index

Properties

Properties

coin

coin: string

Defined in cosmos/definitions/TypesWithdraw.ts:132

Defined in dfinance/definitions/TypesWithdraw.ts:132


id

id: string

Defined in cosmos/definitions/TypesWithdraw.ts:133

Defined in dfinance/definitions/TypesWithdraw.ts:133


pegzone_chain_id

pegzone_chain_id: string

Defined in cosmos/definitions/TypesWithdraw.ts:134

Defined in dfinance/definitions/TypesWithdraw.ts:134


pegzone_spender

pegzone_spender: string

Defined in cosmos/definitions/TypesWithdraw.ts:135

Defined in dfinance/definitions/TypesWithdraw.ts:135


spender

spender: string

Defined in cosmos/definitions/TypesWithdraw.ts:136

Defined in dfinance/definitions/TypesWithdraw.ts:136


timestamp

timestamp: number

Defined in cosmos/definitions/TypesWithdraw.ts:137

Defined in dfinance/definitions/TypesWithdraw.ts:137


tx_hash

tx_hash: string

Defined in cosmos/definitions/TypesWithdraw.ts:138

Defined in dfinance/definitions/TypesWithdraw.ts:138

JSDKUnbondingDelegation

Interface: UnbondingDelegation

Hierarchy

  • UnbondingDelegation

Index

Properties

Properties

balance

balance: string

Defined in cosmos/definitions/UnbondingDelegation.ts:132

Defined in dfinance/definitions/UnbondingDelegation.ts:132


creation_height

creation_height: number

Defined in cosmos/definitions/UnbondingDelegation.ts:133

Defined in dfinance/definitions/UnbondingDelegation.ts:133


delegator_address

delegator_address: string

Defined in cosmos/definitions/UnbondingDelegation.ts:134

Defined in dfinance/definitions/UnbondingDelegation.ts:134


initial_balance

initial_balance: string

Defined in cosmos/definitions/UnbondingDelegation.ts:135

Defined in dfinance/definitions/UnbondingDelegation.ts:135


min_time

min_time: number

Defined in cosmos/definitions/UnbondingDelegation.ts:136

Defined in dfinance/definitions/UnbondingDelegation.ts:136


validator_address

validator_address: string

Defined in cosmos/definitions/UnbondingDelegation.ts:137

Defined in dfinance/definitions/UnbondingDelegation.ts:137

JSDKUnbondingDelegationPair

Interface: UnbondingDelegationPair

Hierarchy

  • UnbondingDelegationPair

Index

Properties

Properties

delegator_address

delegator_address: string

Defined in cosmos/definitions/UnbondingDelegationPair.ts:132

Defined in dfinance/definitions/UnbondingDelegationPair.ts:132


entries

entries: UnbondingEntries[]

Defined in cosmos/definitions/UnbondingDelegationPair.ts:133

Defined in dfinance/definitions/UnbondingDelegationPair.ts:133


validator_address

validator_address: string

Defined in cosmos/definitions/UnbondingDelegationPair.ts:134

Defined in dfinance/definitions/UnbondingDelegationPair.ts:134

JSDKUnbondingEntries

Interface: UnbondingEntries

Hierarchy

  • UnbondingEntries

Index

Properties

Properties

balance

balance: string

Defined in cosmos/definitions/UnbondingEntries.ts:132

Defined in dfinance/definitions/UnbondingEntries.ts:132


creation_height

creation_height: string

Defined in cosmos/definitions/UnbondingEntries.ts:133

Defined in dfinance/definitions/UnbondingEntries.ts:133


initial_balance

initial_balance: string

Defined in cosmos/definitions/UnbondingEntries.ts:134

Defined in dfinance/definitions/UnbondingEntries.ts:134


min_time

min_time: string

Defined in cosmos/definitions/UnbondingEntries.ts:135

Defined in dfinance/definitions/UnbondingEntries.ts:135

JSDKValidator

Interface: Validator

Hierarchy

  • Validator

Index

Properties

Properties

bond_height

bond_height: string

Defined in cosmos/definitions/Validator.ts:132

Defined in dfinance/definitions/Validator.ts:132


bond_intra_tx_counter

bond_intra_tx_counter: number

Defined in cosmos/definitions/Validator.ts:133

Defined in dfinance/definitions/Validator.ts:133


commission

commission: object

Defined in cosmos/definitions/Validator.ts:134

Defined in dfinance/definitions/Validator.ts:134

Type declaration:
  • max_change_rate: string

  • max_rate: string

  • rate: string

  • update_time: string


consensus_pubkey

consensus_pubkey: string

Defined in cosmos/definitions/Validator.ts:135

Defined in dfinance/definitions/Validator.ts:135


delegator_shares

delegator_shares: string

Defined in cosmos/definitions/Validator.ts:136

Defined in dfinance/definitions/Validator.ts:136


description

description: object

Defined in cosmos/definitions/Validator.ts:137

Defined in dfinance/definitions/Validator.ts:137

Type declaration:
  • details: string

  • identity: string

  • moniker: string

  • security_contact: string

  • website: string


jailed

jailed: boolean

Defined in cosmos/definitions/Validator.ts:138

Defined in dfinance/definitions/Validator.ts:138


operator_address

operator_address: ValidatorAddress

Defined in cosmos/definitions/Validator.ts:139

Defined in dfinance/definitions/Validator.ts:139


status

status: number

Defined in cosmos/definitions/Validator.ts:140

Defined in dfinance/definitions/Validator.ts:140


tokens

tokens: string

Defined in cosmos/definitions/Validator.ts:141

Defined in dfinance/definitions/Validator.ts:141


unbonding_height

unbonding_height: string

Defined in cosmos/definitions/Validator.ts:142

Defined in dfinance/definitions/Validator.ts:142


unbonding_time

unbonding_time: string

Defined in cosmos/definitions/Validator.ts:143

Defined in dfinance/definitions/Validator.ts:143

JSDKValidatorDistInfo

Interface: ValidatorDistInfo

Hierarchy

  • ValidatorDistInfo

Index

Properties

Properties

operator_address

operator_address: ValidatorAddress

Defined in cosmos/definitions/ValidatorDistInfo.ts:132

Defined in dfinance/definitions/ValidatorDistInfo.ts:132


self_bond_rewards

self_bond_rewards: Coin[]

Defined in cosmos/definitions/ValidatorDistInfo.ts:133

Defined in dfinance/definitions/ValidatorDistInfo.ts:133


val_commission

val_commission: Coin[]

Defined in cosmos/definitions/ValidatorDistInfo.ts:134

Defined in dfinance/definitions/ValidatorDistInfo.ts:134

JSDKVmClientMoveFile

Interface: VmClientMoveFile

Hierarchy

  • VmClientMoveFile

Index

Properties

Properties

code

code: string

Defined in cosmos/definitions/VmClientMoveFile.ts:132

Defined in dfinance/definitions/VmClientMoveFile.ts:132

JSDKVote

Interface: Vote

Hierarchy

  • Vote

Index

Properties

Properties

option

option: string

Defined in cosmos/definitions/Vote.ts:132

Defined in dfinance/definitions/Vote.ts:132


proposal_id

proposal_id: string

Defined in cosmos/definitions/Vote.ts:133

Defined in dfinance/definitions/Vote.ts:133


voter

voter: string

Defined in cosmos/definitions/Vote.ts:134

Defined in dfinance/definitions/Vote.ts:134

FAQs

Package last updated on 24 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc