New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.10
  • npm
  • Socket score

Version published
Weekly downloads
27
decreased by-65.38%
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:41

Defined in dfinance/definitions/Address.ts:126


AuthStdTx

Ƭ AuthStdTx: TypesStdTx

Defined in dfinance/definitions/AuthStdTx.ts:126


CcstorageCurrencies

Ƭ CcstorageCurrencies: TypesCurrencies

Defined in dfinance/definitions/CcstorageCurrencies.ts:126


CcstorageCurrency

Ƭ CcstorageCurrency: TypesCurrency

Defined in dfinance/definitions/CcstorageCurrency.ts:126


CryptoPubKey

Ƭ CryptoPubKey: object

Defined in dfinance/definitions/CryptoPubKey.ts:126


Hash

Ƭ Hash: string

Defined in cosmos/definitions/Hash.ts:41

Defined in dfinance/definitions/Hash.ts:126


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 dfinance/definitions/MarketsMarketExtended.ts:126


Msg

Ƭ Msg: string

Defined in cosmos/definitions/Msg.ts:41

Defined in dfinance/definitions/Msg.ts:126


MsmoduleMsMsg

Ƭ MsmoduleMsMsg: object

Defined in dfinance/definitions/MsmoduleMsMsg.ts:126


TypesAccAddress

Ƭ TypesAccAddress: number[]

Defined in dfinance/definitions/TypesAccAddress.ts:126


TypesAddress

Ƭ TypesAddress: object

Defined in dfinance/definitions/TypesAddress.ts:126


TypesAssets

Ƭ TypesAssets: TypesAsset[]

Defined in dfinance/definitions/TypesAssets.ts:126


TypesCallsResp

Ƭ TypesCallsResp: TypesCallResp[]

Defined in dfinance/definitions/TypesCallsResp.ts:126


TypesCoins

Ƭ TypesCoins: TypesCoin[]

Defined in dfinance/definitions/TypesCoins.ts:126


TypesCurrencies

Ƭ TypesCurrencies: TypesCurrency[]

Defined in dfinance/definitions/TypesCurrencies.ts:126


TypesDec

Ƭ TypesDec: object

Defined in dfinance/definitions/TypesDec.ts:126


TypesDecCoins

Ƭ TypesDecCoins: TypesDecCoin[]

Defined in dfinance/definitions/TypesDecCoins.ts:126


TypesId

Ƭ TypesId: any

Defined in dfinance/definitions/TypesId.ts:126


TypesInt

Ƭ TypesInt: object

Defined in dfinance/definitions/TypesInt.ts:126


TypesMarkets

Ƭ TypesMarkets: TypesMarket[]

Defined in dfinance/definitions/TypesMarkets.ts:126


TypesMsg

Ƭ TypesMsg: object

Defined in dfinance/definitions/TypesMsg.ts:126


TypesOracles

Ƭ TypesOracles: TypesOracle[]

Defined in dfinance/definitions/TypesOracles.ts:126


TypesOrders

Ƭ TypesOrders: TypesOrder[]

Defined in dfinance/definitions/TypesOrders.ts:126


TypesUint

Ƭ TypesUint: object

Defined in dfinance/definitions/TypesUint.ts:126


TypesValidators

Ƭ TypesValidators: TypesValidator[]

Defined in dfinance/definitions/TypesValidators.ts:126


TypesVmStatuses

Ƭ TypesVmStatuses: TypesVmStatus[]

Defined in dfinance/definitions/TypesVmStatuses.ts:126


TypesWithdraws

Ƭ TypesWithdraws: TypesWithdraw[]

Defined in dfinance/definitions/TypesWithdraws.ts:126


ValidatorAddress

Ƭ ValidatorAddress: string

Defined in cosmos/definitions/ValidatorAddress.ts:41

Defined in dfinance/definitions/ValidatorAddress.ts:126

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.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.ts:26

Parameters:

NameType
addressArrayLike‹number›
prefixstring

Returns: string


createCosmosAddress

createCosmosAddress(publicKey: Uint8Array): string

Defined in extra/crypto.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.ts:7

Parameters:

NameType
valueDecimal.Value

Returns: Decimal


deriveKeypair

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

Defined in extra/crypto.ts:61

Parameters:

NameType
masterKeyBIP32Interface
pathstring

Returns: IKeyPair


deriveMasterKey

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

Defined in extra/crypto.ts:52

Parameters:

NameTypeDefault
mnemonicstring-
passwordstringnull

Returns: Promise‹BIP32Interface›


generateSeed

generateSeed(randomBytesFunc: function): string

Defined in extra/crypto.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.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.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.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 dfinance/AuthService.ts:157

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 } }>}


Static myAccounts

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

Defined in cosmos/AuthService.ts:72

description Get the account information on blockchain

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

method myAccounts

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:63

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:99

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 dfinance/CurrenciesService.ts:146

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 dfinance/CurrenciesService.ts:175

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 dfinance/CurrenciesService.ts:246

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 dfinance/CurrenciesService.ts:318

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 dfinance/CurrenciesService.ts:354

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 dfinance/CurrenciesService.ts:210

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 dfinance/CurrenciesService.ts:281

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.ts:14

Parameters:

NameTypeDefault
heightstring"latest"

Returns: Promise‹any›


Static getCurrentBlock

getCurrentBlock(): Promise‹any›

Defined in extra/DB.ts:44

Returns: Promise‹any›


Static getDestroys

getDestroys(page: number, limit: number): Promise‹any›

Defined in extra/DB.ts:84

Parameters:

NameType
pagenumber
limitnumber

Returns: Promise‹any›


Static getLatestTransactions

getLatestTransactions(count: number): Promise‹any›

Defined in extra/DB.ts:22

Parameters:

NameType
countnumber

Returns: Promise‹any›


Static getPriceHistory

getPriceHistory(ticker: string): Promise‹any›

Defined in extra/DB.ts:52

Parameters:

NameType
tickerstring

Returns: Promise‹any›


Static getTotal

getTotal(type: string): Promise‹any›

Defined in extra/DB.ts:48

Parameters:

NameType
typestring

Returns: Promise‹any›


Static getTransaction

getTransaction(hash: string): Promise‹any›

Defined in extra/DB.ts:18

Parameters:

NameType
hashstring

Returns: Promise‹any›


Static getTransactionsFromBlock

getTransactionsFromBlock(height: number): Promise‹any›

Defined in extra/DB.ts:26

Parameters:

NameType
heightnumber

Returns: Promise‹any›


Static requestTokens

requestTokens(address: string): Promise‹any›

Defined in extra/DB.ts:40

Parameters:

NameType
addressstring

Returns: Promise‹any›


Static searchTransactions

searchTransactions(params: any): Promise‹any›

Defined in extra/DB.ts:32

Parameters:

NameType
paramsany

Returns: Promise‹any›


Static searchTxs

searchTxs(params: any): Promise‹any›

Defined in extra/DB.ts:36

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:447

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:65

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:143

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:225

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:475

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:307

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:340

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:376

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:104

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:184

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:266

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:413

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:543

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<{ min_deposit: Coin[], max_deposit_period: string }>}


Static getGovParametersTallying

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

Defined in cosmos/GovernanceService.ts:581

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<{ threshold: string, veto: string, governance_penalty: string }>}


Static getGovParametersVoting

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

Defined in cosmos/GovernanceService.ts:621

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:116

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:204

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:272

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:351

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:239

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:506

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:387

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:470

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:72

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:162

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:311

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:426

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 dfinance/MarketsService.ts:153

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 dfinance/MarketsService.ts:201

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:155

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:131

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:68

description Minting module parameters

200 - OK
500 - Internal Server Error

method getMintingParameters

see /minting/parameters

Parameters:

NameTypeDescription
options?IRequestConfiguration

Returns: Promise‹object›

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

JSDKMultisigService

Class: MultisigService

Hierarchy

  • MultisigService

Index

Methods

Methods

Static getMultisigCallCallId

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

Defined in dfinance/MultisigService.ts:150

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 dfinance/MultisigService.ts:182

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 dfinance/MultisigService.ts:285

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 dfinance/MultisigService.ts:212

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 dfinance/MultisigService.ts:249

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 dfinance/OracleService.ts:149

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 dfinance/OracleService.ts:180

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 dfinance/OracleService.ts:254

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 dfinance/OracleService.ts:215

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 dfinance/OrdersService.ts:154

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 dfinance/OrdersService.ts:278

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 dfinance/OrdersService.ts:201

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 dfinance/OrdersService.ts:238

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 dfinance/PoAService.ts:147

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:149

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<{ max_evidence_age: string, signed_blocks_window: string, min_signed_per_window: string, double_sign_unbond_duration: string, downtime_unbond_duration: string, slash_fraction_double_sign: string, slash_fraction_downtime: string }>}


Static getSlashingSigningInfos

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

Defined in cosmos/SlashingService.ts:66

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:107

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:64

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:148

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:185

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:275

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:403

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:438

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:690

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<{ inflation_rate_change: string, inflation_max: string, inflation_min: string, goal_bonded: string, unbonding_time: string, max_validators: number, bond_denom: string }>}


Static getStakingPool

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

Defined in cosmos/StakingService.ts:619

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<{ loose_tokens: string, bonded_tokens: string, inflation_last_time: string, inflation: string, date_last_commission_reset: string, prev_bonded_shares: string }>}


Static getStakingRedelegations

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

Defined in cosmos/StakingService.ts:313

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:474

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:512

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:544

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:578

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:105

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:362

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:229

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:61

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:88

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:263

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:233

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:89

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: { * id: string, * moniker: string, * protocol_version: { * * p2p: string, * * block: string, * * app: string * }, * network: string, * channels: string, * listen_addr: string, * version: string, * other: { * * tx_index: string, * * rpc_address: string * } } }>}


Static getSyncing

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

Defined in cosmos/TendermintRpcService.ts:207

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:339

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:297

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:102

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:64

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:153

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:236

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:197

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 dfinance/VmService.ts:150

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 dfinance/VmService.ts:188

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 dfinance/VmService.ts:301

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 putVmExecute

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

Defined in dfinance/VmService.ts:226

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 dfinance/VmService.ts:263

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:45

Defined in dfinance/definitions/BaseReq.ts:127


chain_id

chain_id: string

Defined in cosmos/definitions/BaseReq.ts:44

Defined in dfinance/definitions/BaseReq.ts:128


fees

fees: Coin[]

Defined in cosmos/definitions/BaseReq.ts:49

Defined in dfinance/definitions/BaseReq.ts:129


from

from: string

Defined in cosmos/definitions/BaseReq.ts:42

Defined in dfinance/definitions/BaseReq.ts:130


gas

gas: string

Defined in cosmos/definitions/BaseReq.ts:47

Defined in dfinance/definitions/BaseReq.ts:131


gas_adjustment

gas_adjustment: string

Defined in cosmos/definitions/BaseReq.ts:48

Defined in dfinance/definitions/BaseReq.ts:132


memo

memo: string

Defined in cosmos/definitions/BaseReq.ts:43

Defined in dfinance/definitions/BaseReq.ts:133


sequence

sequence: string

Defined in cosmos/definitions/BaseReq.ts:46

Defined in dfinance/definitions/BaseReq.ts:134


simulate

simulate: boolean

Defined in cosmos/definitions/BaseReq.ts:50

Defined in dfinance/definitions/BaseReq.ts:135

JSDKBlock

Interface: Block

Hierarchy

  • Block

Index

Properties

Properties

evidence

evidence: string[]

Defined in cosmos/definitions/Block.ts:44

Defined in dfinance/definitions/Block.ts:127


header

header: BlockHeader

Defined in cosmos/definitions/Block.ts:42

Defined in dfinance/definitions/Block.ts:128


last_commit

last_commit: object

Defined in cosmos/definitions/Block.ts:45

Defined in dfinance/definitions/Block.ts:129

Type declaration:
  • block_id: BlockId

  • precommits: object[]


txs

txs: string[]

Defined in cosmos/definitions/Block.ts:43

Defined in dfinance/definitions/Block.ts:130

JSDKBlockHeader

Interface: BlockHeader

Hierarchy

  • BlockHeader

Index

Properties

Properties

app_hash

app_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:53

Defined in dfinance/definitions/BlockHeader.ts:127


chain_id

chain_id: string

Defined in cosmos/definitions/BlockHeader.ts:42

Defined in dfinance/definitions/BlockHeader.ts:128


consensus_hash

consensus_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:52

Defined in dfinance/definitions/BlockHeader.ts:129


data_hash

data_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:49

Defined in dfinance/definitions/BlockHeader.ts:130


evidence_hash

evidence_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:55

Defined in dfinance/definitions/BlockHeader.ts:131


height

height: number

Defined in cosmos/definitions/BlockHeader.ts:43

Defined in dfinance/definitions/BlockHeader.ts:132


last_block_id

last_block_id: BlockId

Defined in cosmos/definitions/BlockHeader.ts:46

Defined in dfinance/definitions/BlockHeader.ts:133


last_commit_hash

last_commit_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:48

Defined in dfinance/definitions/BlockHeader.ts:134


last_results_hash

last_results_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:54

Defined in dfinance/definitions/BlockHeader.ts:135


next_validators_hash

next_validators_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:51

Defined in dfinance/definitions/BlockHeader.ts:136


num_txs

num_txs: number

Defined in cosmos/definitions/BlockHeader.ts:45

Defined in dfinance/definitions/BlockHeader.ts:137


proposer_address

proposer_address: Address

Defined in cosmos/definitions/BlockHeader.ts:56

Defined in dfinance/definitions/BlockHeader.ts:138


time

time: string

Defined in cosmos/definitions/BlockHeader.ts:44

Defined in dfinance/definitions/BlockHeader.ts:139


total_txs

total_txs: number

Defined in cosmos/definitions/BlockHeader.ts:47

Defined in dfinance/definitions/BlockHeader.ts:140


validators_hash

validators_hash: Hash

Defined in cosmos/definitions/BlockHeader.ts:50

Defined in dfinance/definitions/BlockHeader.ts:141


version

version: object

Defined in cosmos/definitions/BlockHeader.ts:57

Defined in dfinance/definitions/BlockHeader.ts:142

Type declaration:
  • app: string

  • block: string

JSDKBlockId

Interface: BlockId

Hierarchy

  • BlockId

Index

Properties

Properties

hash

hash: Hash

Defined in cosmos/definitions/BlockId.ts:42

Defined in dfinance/definitions/BlockId.ts:127


parts

parts: object

Defined in cosmos/definitions/BlockId.ts:43

Defined in dfinance/definitions/BlockId.ts:128

Type declaration:
  • hash: Hash

  • total: number

JSDKBlockQuery

Interface: BlockQuery

Hierarchy

  • BlockQuery

Index

Properties

Properties

block

block: Block

Defined in cosmos/definitions/BlockQuery.ts:43

Defined in dfinance/definitions/BlockQuery.ts:127


block_meta

block_meta: object

Defined in cosmos/definitions/BlockQuery.ts:42

Defined in dfinance/definitions/BlockQuery.ts:128

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:42

Defined in dfinance/definitions/BroadcastTxCommitResult.ts:127


deliver_tx

deliver_tx: DeliverTxResult

Defined in cosmos/definitions/BroadcastTxCommitResult.ts:43

Defined in dfinance/definitions/BroadcastTxCommitResult.ts:128


hash

hash: Hash

Defined in cosmos/definitions/BroadcastTxCommitResult.ts:44

Defined in dfinance/definitions/BroadcastTxCommitResult.ts:129


height

height: number

Defined in cosmos/definitions/BroadcastTxCommitResult.ts:45

Defined in dfinance/definitions/BroadcastTxCommitResult.ts:130

JSDKCheckTxResult

Interface: CheckTxResult

Hierarchy

  • CheckTxResult

Index

Properties

Properties

code

code: number

Defined in cosmos/definitions/CheckTxResult.ts:42

Defined in dfinance/definitions/CheckTxResult.ts:127


data

data: string

Defined in cosmos/definitions/CheckTxResult.ts:43

Defined in dfinance/definitions/CheckTxResult.ts:128


gas_used

gas_used: number

Defined in cosmos/definitions/CheckTxResult.ts:44

Defined in dfinance/definitions/CheckTxResult.ts:129


gas_wanted

gas_wanted: number

Defined in cosmos/definitions/CheckTxResult.ts:45

Defined in dfinance/definitions/CheckTxResult.ts:130


info

info: string

Defined in cosmos/definitions/CheckTxResult.ts:46

Defined in dfinance/definitions/CheckTxResult.ts:131


log

log: string

Defined in cosmos/definitions/CheckTxResult.ts:47

Defined in dfinance/definitions/CheckTxResult.ts:132


tags

tags: KvPair[]

Defined in cosmos/definitions/CheckTxResult.ts:48

Defined in dfinance/definitions/CheckTxResult.ts:133

JSDKCoin

Interface: Coin

Hierarchy

  • Coin

Index

Properties

Properties

amount

amount: string

Defined in cosmos/definitions/Coin.ts:43

Defined in dfinance/definitions/Coin.ts:127


denom

denom: string

Defined in cosmos/definitions/Coin.ts:42

Defined in dfinance/definitions/Coin.ts:128

JSDKDelegation

Interface: Delegation

Hierarchy

  • Delegation

Index

Properties

Properties

balance

balance: Coin

Defined in cosmos/definitions/Delegation.ts:45

Defined in dfinance/definitions/Delegation.ts:127


delegator_address

delegator_address: string

Defined in cosmos/definitions/Delegation.ts:42

Defined in dfinance/definitions/Delegation.ts:128


shares

shares: string

Defined in cosmos/definitions/Delegation.ts:44

Defined in dfinance/definitions/Delegation.ts:129


validator_address

validator_address: string

Defined in cosmos/definitions/Delegation.ts:43

Defined in dfinance/definitions/Delegation.ts:130

JSDKDelegationDelegatorReward

Interface: DelegationDelegatorReward

Hierarchy

  • DelegationDelegatorReward

Index

Properties

Properties

reward

reward: Coin[]

Defined in cosmos/definitions/DelegationDelegatorReward.ts:43

Defined in dfinance/definitions/DelegationDelegatorReward.ts:127


validator_address

validator_address: ValidatorAddress

Defined in cosmos/definitions/DelegationDelegatorReward.ts:42

Defined in dfinance/definitions/DelegationDelegatorReward.ts:128

JSDKDelegatorTotalRewards

Interface: DelegatorTotalRewards

Hierarchy

  • DelegatorTotalRewards

Index

Properties

Properties

rewards

rewards: DelegationDelegatorReward[]

Defined in cosmos/definitions/DelegatorTotalRewards.ts:42

Defined in dfinance/definitions/DelegatorTotalRewards.ts:127


total

total: Coin[]

Defined in cosmos/definitions/DelegatorTotalRewards.ts:43

Defined in dfinance/definitions/DelegatorTotalRewards.ts:128

JSDKDeliverTxResult

Interface: DeliverTxResult

Hierarchy

  • DeliverTxResult

Index

Properties

Properties

code

code: number

Defined in cosmos/definitions/DeliverTxResult.ts:42

Defined in dfinance/definitions/DeliverTxResult.ts:127


data

data: string

Defined in cosmos/definitions/DeliverTxResult.ts:43

Defined in dfinance/definitions/DeliverTxResult.ts:128


gas_used

gas_used: number

Defined in cosmos/definitions/DeliverTxResult.ts:44

Defined in dfinance/definitions/DeliverTxResult.ts:129


gas_wanted

gas_wanted: number

Defined in cosmos/definitions/DeliverTxResult.ts:45

Defined in dfinance/definitions/DeliverTxResult.ts:130


info

info: string

Defined in cosmos/definitions/DeliverTxResult.ts:46

Defined in dfinance/definitions/DeliverTxResult.ts:131


log

log: string

Defined in cosmos/definitions/DeliverTxResult.ts:47

Defined in dfinance/definitions/DeliverTxResult.ts:132


tags

tags: KvPair[]

Defined in cosmos/definitions/DeliverTxResult.ts:48

Defined in dfinance/definitions/DeliverTxResult.ts:133

JSDKDeposit

Interface: Deposit

Hierarchy

  • Deposit

Index

Properties

Properties

amount

amount: Coin[]

Defined in cosmos/definitions/Deposit.ts:42

Defined in dfinance/definitions/Deposit.ts:127


depositor

depositor: Address

Defined in cosmos/definitions/Deposit.ts:44

Defined in dfinance/definitions/Deposit.ts:128


proposal_id

proposal_id: string

Defined in cosmos/definitions/Deposit.ts:43

Defined in dfinance/definitions/Deposit.ts:129

JSDKIKeyPair

Interface: IKeyPair

Hierarchy

  • IKeyPair

Index

Properties

Properties

privateKey

privateKey: Buffer

Defined in extra/crypto.ts:10


publicKey

publicKey: Uint8Array

Defined in extra/crypto.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.ts:18


Optional mnemonic

mnemonic? : string

Defined in extra/crypto.ts:17


path

path: string

Defined in extra/crypto.ts:19


privateKey

privateKey: string

Defined in extra/crypto.ts:15


publicKey

publicKey: string

Defined in extra/crypto.ts:16

JSDKKvPair

Interface: KvPair

Hierarchy

  • KvPair

Index

Properties

Properties

key

key: string

Defined in cosmos/definitions/KvPair.ts:42

Defined in dfinance/definitions/KvPair.ts:127


value

value: string

Defined in cosmos/definitions/KvPair.ts:43

Defined in dfinance/definitions/KvPair.ts:128

JSDKPaginatedQueryTxs

Interface: PaginatedQueryTxs

Hierarchy

  • PaginatedQueryTxs

Index

Properties

Properties

count

count: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:43

Defined in dfinance/definitions/PaginatedQueryTxs.ts:127


limit

limit: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:46

Defined in dfinance/definitions/PaginatedQueryTxs.ts:128


page_number

page_number: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:44

Defined in dfinance/definitions/PaginatedQueryTxs.ts:129


page_total

page_total: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:45

Defined in dfinance/definitions/PaginatedQueryTxs.ts:130


total_count

total_count: number

Defined in cosmos/definitions/PaginatedQueryTxs.ts:42

Defined in dfinance/definitions/PaginatedQueryTxs.ts:131


txs

txs: TxQuery[]

Defined in cosmos/definitions/PaginatedQueryTxs.ts:47

Defined in dfinance/definitions/PaginatedQueryTxs.ts:132

JSDKParamChange

Interface: ParamChange

Hierarchy

  • ParamChange

Index

Properties

Properties

key

key: string

Defined in cosmos/definitions/ParamChange.ts:43

Defined in dfinance/definitions/ParamChange.ts:127


subkey

subkey: string

Defined in cosmos/definitions/ParamChange.ts:44

Defined in dfinance/definitions/ParamChange.ts:128


subspace

subspace: string

Defined in cosmos/definitions/ParamChange.ts:42

Defined in dfinance/definitions/ParamChange.ts:129


value

value: object

Defined in cosmos/definitions/ParamChange.ts:45

Defined in dfinance/definitions/ParamChange.ts:130

JSDKProposer

Interface: Proposer

Hierarchy

  • Proposer

Index

Properties

Properties

proposal_id

proposal_id: string

Defined in cosmos/definitions/Proposer.ts:42

Defined in dfinance/definitions/Proposer.ts:127


proposer

proposer: string

Defined in cosmos/definitions/Proposer.ts:43

Defined in dfinance/definitions/Proposer.ts:128

JSDKPublicKey

Interface: PublicKey

Hierarchy

  • PublicKey

Index

Properties

Properties

type

type: string

Defined in cosmos/definitions/PublicKey.ts:42

Defined in dfinance/definitions/PublicKey.ts:127


value

value: string

Defined in cosmos/definitions/PublicKey.ts:43

Defined in dfinance/definitions/PublicKey.ts:128

JSDKRedelegation

Interface: Redelegation

Hierarchy

  • Redelegation

Index

Properties

Properties

delegator_address

delegator_address: string

Defined in cosmos/definitions/Redelegation.ts:42

Defined in dfinance/definitions/Redelegation.ts:127


entries

entries: Redelegation[]

Defined in cosmos/definitions/Redelegation.ts:45

Defined in dfinance/definitions/Redelegation.ts:128


validator_dst_address

validator_dst_address: string

Defined in cosmos/definitions/Redelegation.ts:44

Defined in dfinance/definitions/Redelegation.ts:129


validator_src_address

validator_src_address: string

Defined in cosmos/definitions/Redelegation.ts:43

Defined in dfinance/definitions/Redelegation.ts:130

JSDKRedelegationEntry

Interface: RedelegationEntry

Hierarchy

  • RedelegationEntry

Index

Properties

Properties

balance

balance: string

Defined in cosmos/definitions/RedelegationEntry.ts:45

Defined in dfinance/definitions/RedelegationEntry.ts:127


completion_time

completion_time: number

Defined in cosmos/definitions/RedelegationEntry.ts:43

Defined in dfinance/definitions/RedelegationEntry.ts:128


creation_height

creation_height: number

Defined in cosmos/definitions/RedelegationEntry.ts:42

Defined in dfinance/definitions/RedelegationEntry.ts:129


initial_balance

initial_balance: string

Defined in cosmos/definitions/RedelegationEntry.ts:44

Defined in dfinance/definitions/RedelegationEntry.ts:130


shares_dst

shares_dst: string

Defined in cosmos/definitions/RedelegationEntry.ts:46

Defined in dfinance/definitions/RedelegationEntry.ts:131

JSDKRestBaseReq

Interface: RestBaseReq

Hierarchy

  • RestBaseReq

Index

Properties

Properties

account_number

account_number: number

Defined in dfinance/definitions/RestBaseReq.ts:127


chain_id

chain_id: string

Defined in dfinance/definitions/RestBaseReq.ts:128


fees

fees: TypesCoins

Defined in dfinance/definitions/RestBaseReq.ts:129


from

from: string

Defined in dfinance/definitions/RestBaseReq.ts:130


gas

gas: string

Defined in dfinance/definitions/RestBaseReq.ts:131


gas_adjustment

gas_adjustment: string

Defined in dfinance/definitions/RestBaseReq.ts:132


gas_prices

gas_prices: TypesDecCoins

Defined in dfinance/definitions/RestBaseReq.ts:133


memo

memo: string

Defined in dfinance/definitions/RestBaseReq.ts:134


sequence

sequence: number

Defined in dfinance/definitions/RestBaseReq.ts:135


simulate

simulate: boolean

Defined in dfinance/definitions/RestBaseReq.ts:136

JSDKRestCcRespGetCurrencies

Interface: RestCcRespGetCurrencies

Hierarchy

  • RestCcRespGetCurrencies

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestCcRespGetCurrencies.ts:127


result

result: CcstorageCurrencies

Defined in dfinance/definitions/RestCcRespGetCurrencies.ts:128

JSDKRestCcRespGetCurrency

Interface: RestCcRespGetCurrency

Hierarchy

  • RestCcRespGetCurrency

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestCcRespGetCurrency.ts:127


result

result: CcstorageCurrency

Defined in dfinance/definitions/RestCcRespGetCurrency.ts:128

JSDKRestCcRespGetIssue

Interface: RestCcRespGetIssue

Hierarchy

  • RestCcRespGetIssue

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestCcRespGetIssue.ts:127


result

result: TypesIssue

Defined in dfinance/definitions/RestCcRespGetIssue.ts:128

JSDKRestCcRespGetWithdraw

Interface: RestCcRespGetWithdraw

Hierarchy

  • RestCcRespGetWithdraw

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestCcRespGetWithdraw.ts:127


result

result: TypesWithdraw

Defined in dfinance/definitions/RestCcRespGetWithdraw.ts:128

JSDKRestCcRespGetWithdraws

Interface: RestCcRespGetWithdraws

Hierarchy

  • RestCcRespGetWithdraws

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestCcRespGetWithdraws.ts:127


result

result: TypesWithdraws

Defined in dfinance/definitions/RestCcRespGetWithdraws.ts:128

JSDKRestCcRespStdTx

Interface: RestCcRespStdTx

Hierarchy

  • RestCcRespStdTx

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestCcRespStdTx.ts:127


result

result: AuthStdTx

Defined in dfinance/definitions/RestCcRespStdTx.ts:128

JSDKRestCompileReq

Interface: RestCompileReq

Hierarchy

  • RestCompileReq

Index

Properties

Properties

address

address: string

Defined in dfinance/definitions/RestCompileReq.ts:127


code

code: string

Defined in dfinance/definitions/RestCompileReq.ts:128

JSDKRestConfirmReq

Interface: RestConfirmReq

Hierarchy

  • RestConfirmReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestConfirmReq.ts:127


call_id

call_id: string

Defined in dfinance/definitions/RestConfirmReq.ts:128

JSDKRestErrorResponse

Interface: RestErrorResponse

Hierarchy

  • RestErrorResponse

Index

Properties

Properties

code

code: number

Defined in dfinance/definitions/RestErrorResponse.ts:127


error

error: string

Defined in dfinance/definitions/RestErrorResponse.ts:128

JSDKRestExecuteScriptReq

Interface: RestExecuteScriptReq

Hierarchy

  • RestExecuteScriptReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestExecuteScriptReq.ts:127


move_args

move_args: string[]

Defined in dfinance/definitions/RestExecuteScriptReq.ts:128


move_code

move_code: string

Defined in dfinance/definitions/RestExecuteScriptReq.ts:129

JSDKRestMarketsRespGetMarket

Interface: RestMarketsRespGetMarket

Hierarchy

  • RestMarketsRespGetMarket

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestMarketsRespGetMarket.ts:127


result

result: TypesMarket

Defined in dfinance/definitions/RestMarketsRespGetMarket.ts:128

JSDKRestMarketsRespGetMarkets

Interface: RestMarketsRespGetMarkets

Hierarchy

  • RestMarketsRespGetMarkets

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestMarketsRespGetMarkets.ts:127


result

result: TypesMarkets

Defined in dfinance/definitions/RestMarketsRespGetMarkets.ts:128

JSDKRestMsRespGetCall

Interface: RestMsRespGetCall

Hierarchy

  • RestMsRespGetCall

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestMsRespGetCall.ts:127


result

result: TypesCallResp

Defined in dfinance/definitions/RestMsRespGetCall.ts:128

JSDKRestMsRespGetCalls

Interface: RestMsRespGetCalls

Hierarchy

  • RestMsRespGetCalls

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestMsRespGetCalls.ts:127


result

result: TypesCallsResp

Defined in dfinance/definitions/RestMsRespGetCalls.ts:128

JSDKRestOracleRespGetAssets

Interface: RestOracleRespGetAssets

Hierarchy

  • RestOracleRespGetAssets

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestOracleRespGetAssets.ts:127


result

result: TypesAssets

Defined in dfinance/definitions/RestOracleRespGetAssets.ts:128

JSDKRestOracleRespGetPrice

Interface: RestOracleRespGetPrice

Hierarchy

  • RestOracleRespGetPrice

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestOracleRespGetPrice.ts:127


result

result: TypesCurrentPrice

Defined in dfinance/definitions/RestOracleRespGetPrice.ts:128

JSDKRestOracleRespGetRawPrices

Interface: RestOracleRespGetRawPrices

Hierarchy

  • RestOracleRespGetRawPrices

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestOracleRespGetRawPrices.ts:127


result

result: TypesPostedPrice[]

Defined in dfinance/definitions/RestOracleRespGetRawPrices.ts:128

JSDKRestOrdersRespGetOrder

Interface: RestOrdersRespGetOrder

Hierarchy

  • RestOrdersRespGetOrder

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestOrdersRespGetOrder.ts:127


result

result: TypesOrder

Defined in dfinance/definitions/RestOrdersRespGetOrder.ts:128

JSDKRestOrdersRespGetOrders

Interface: RestOrdersRespGetOrders

Hierarchy

  • RestOrdersRespGetOrders

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestOrdersRespGetOrders.ts:127


result

result: TypesOrders

Defined in dfinance/definitions/RestOrdersRespGetOrders.ts:128

JSDKRestOrdersRespPostOrder

Interface: RestOrdersRespPostOrder

Hierarchy

  • RestOrdersRespPostOrder

Index

Properties

Properties

type

type: string

Defined in dfinance/definitions/RestOrdersRespPostOrder.ts:127


value

value: object

Defined in dfinance/definitions/RestOrdersRespPostOrder.ts:128

Type declaration:

JSDKRestOrdersRespRevokeOrder

Interface: RestOrdersRespRevokeOrder

Hierarchy

  • RestOrdersRespRevokeOrder

Index

Properties

Properties

type

type: string

Defined in dfinance/definitions/RestOrdersRespRevokeOrder.ts:127


value

value: object

Defined in dfinance/definitions/RestOrdersRespRevokeOrder.ts:128

Type declaration:

JSDKRestPoaRespGetValidators

Interface: RestPoaRespGetValidators

Hierarchy

  • RestPoaRespGetValidators

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestPoaRespGetValidators.ts:127


result

result: TypesValidatorsConfirmationsResp

Defined in dfinance/definitions/RestPoaRespGetValidators.ts:128

JSDKRestPostOrderMsg

Interface: RestPostOrderMsg

Hierarchy

  • RestPostOrderMsg

Index

Properties

Properties

type

type: string

Defined in dfinance/definitions/RestPostOrderMsg.ts:127


value

value: TypesMsgPostOrder

Defined in dfinance/definitions/RestPostOrderMsg.ts:128

JSDKRestPostOrderReq

Interface: RestPostOrderReq

Hierarchy

  • RestPostOrderReq

Index

Properties

Properties

asset_code

asset_code: string

Defined in dfinance/definitions/RestPostOrderReq.ts:127


base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestPostOrderReq.ts:128


direction

direction: string

Defined in dfinance/definitions/RestPostOrderReq.ts:129


price

price: string

Defined in dfinance/definitions/RestPostOrderReq.ts:130


quantity

quantity: string

Defined in dfinance/definitions/RestPostOrderReq.ts:131


ttl_in_sec

ttl_in_sec: string

Defined in dfinance/definitions/RestPostOrderReq.ts:132

JSDKRestPostPriceReq

Interface: RestPostPriceReq

Hierarchy

  • RestPostPriceReq

Index

Properties

Properties

asset_code

asset_code: string

Defined in dfinance/definitions/RestPostPriceReq.ts:127


base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestPostPriceReq.ts:128


price

price: string

Defined in dfinance/definitions/RestPostPriceReq.ts:129


received_at

received_at: string

Defined in dfinance/definitions/RestPostPriceReq.ts:130

JSDKRestPublishModuleReq

Interface: RestPublishModuleReq

Hierarchy

  • RestPublishModuleReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestPublishModuleReq.ts:127


move_code

move_code: string

Defined in dfinance/definitions/RestPublishModuleReq.ts:128

JSDKRestRevokeOrderMsg

Interface: RestRevokeOrderMsg

Hierarchy

  • RestRevokeOrderMsg

Index

Properties

Properties

type

type: string

Defined in dfinance/definitions/RestRevokeOrderMsg.ts:127


value

value: TypesMsgRevokeOrder

Defined in dfinance/definitions/RestRevokeOrderMsg.ts:128

JSDKRestRevokeOrderReq

Interface: RestRevokeOrderReq

Hierarchy

  • RestRevokeOrderReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestRevokeOrderReq.ts:127


order_id

order_id: string

Defined in dfinance/definitions/RestRevokeOrderReq.ts:128

JSDKRestRevokeReq

Interface: RestRevokeReq

Hierarchy

  • RestRevokeReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestRevokeReq.ts:127


call_id

call_id: string

Defined in dfinance/definitions/RestRevokeReq.ts:128

JSDKRestSubmitIssueReq

Interface: RestSubmitIssueReq

Hierarchy

  • RestSubmitIssueReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestSubmitIssueReq.ts:127


coin

coin: TypesCoin

Defined in dfinance/definitions/RestSubmitIssueReq.ts:128


id

id: string

Defined in dfinance/definitions/RestSubmitIssueReq.ts:129


payee

payee: string

Defined in dfinance/definitions/RestSubmitIssueReq.ts:130

JSDKRestVmData

Interface: RestVmData

Hierarchy

  • RestVmData

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestVmData.ts:127


result

result: TypesValueResp

Defined in dfinance/definitions/RestVmData.ts:128

JSDKRestVmRespCompile

Interface: RestVmRespCompile

Hierarchy

  • RestVmRespCompile

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestVmRespCompile.ts:127


result

result: VmClientMoveFile

Defined in dfinance/definitions/RestVmRespCompile.ts:128

JSDKRestVmRespStdTx

Interface: RestVmRespStdTx

Hierarchy

  • RestVmRespStdTx

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestVmRespStdTx.ts:127


result

result: AuthStdTx

Defined in dfinance/definitions/RestVmRespStdTx.ts:128

JSDKRestVmTxStatus

Interface: RestVmTxStatus

Hierarchy

  • RestVmTxStatus

Index

Properties

Properties

height

height: number

Defined in dfinance/definitions/RestVmTxStatus.ts:127


result

result: TypesTxVmStatus

Defined in dfinance/definitions/RestVmTxStatus.ts:128

JSDKRestWithdrawReq

Interface: RestWithdrawReq

Hierarchy

  • RestWithdrawReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in dfinance/definitions/RestWithdrawReq.ts:127


coin

coin: TypesCoin

Defined in dfinance/definitions/RestWithdrawReq.ts:128


pegzone_chain_id

pegzone_chain_id: string

Defined in dfinance/definitions/RestWithdrawReq.ts:129


pegzone_payee

pegzone_payee: string

Defined in dfinance/definitions/RestWithdrawReq.ts:130

JSDKSigningInfo

Interface: SigningInfo

Hierarchy

  • SigningInfo

Index

Properties

Properties

index_offset

index_offset: string

Defined in cosmos/definitions/SigningInfo.ts:43

Defined in dfinance/definitions/SigningInfo.ts:127


jailed_until

jailed_until: string

Defined in cosmos/definitions/SigningInfo.ts:44

Defined in dfinance/definitions/SigningInfo.ts:128


missed_blocks_counter

missed_blocks_counter: string

Defined in cosmos/definitions/SigningInfo.ts:45

Defined in dfinance/definitions/SigningInfo.ts:129


start_height

start_height: string

Defined in cosmos/definitions/SigningInfo.ts:42

Defined in dfinance/definitions/SigningInfo.ts:130

JSDKStdTx

Interface: StdTx

Hierarchy

  • StdTx

Index

Properties

Properties

fee

fee: object

Defined in cosmos/definitions/StdTx.ts:43

Defined in dfinance/definitions/StdTx.ts:127

Type declaration:
  • amount: Coin[]

  • gas: string


memo

memo: string

Defined in cosmos/definitions/StdTx.ts:44

Defined in dfinance/definitions/StdTx.ts:128


msg

msg: Msg[]

Defined in cosmos/definitions/StdTx.ts:42

Defined in dfinance/definitions/StdTx.ts:129


signature

signature: object

Defined in cosmos/definitions/StdTx.ts:45

Defined in dfinance/definitions/StdTx.ts:130

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:42

Defined in dfinance/definitions/Supply.ts:127

JSDKTallyResult

Interface: TallyResult

Hierarchy

  • TallyResult

Index

Properties

Properties

abstain

abstain: string

Defined in cosmos/definitions/TallyResult.ts:43

Defined in dfinance/definitions/TallyResult.ts:127


false

false: string

Defined in dfinance/definitions/TallyResult.ts:128


no

no: string

Defined in cosmos/definitions/TallyResult.ts:44


no_with_veto

no_with_veto: string

Defined in cosmos/definitions/TallyResult.ts:45

Defined in dfinance/definitions/TallyResult.ts:129


true

true: string

Defined in dfinance/definitions/TallyResult.ts:130


yes

yes: string

Defined in cosmos/definitions/TallyResult.ts:42

JSDKTendermintValidator

Interface: TendermintValidator

Hierarchy

  • TendermintValidator

Index

Properties

Properties

address

address: ValidatorAddress

Defined in cosmos/definitions/TendermintValidator.ts:42

Defined in dfinance/definitions/TendermintValidator.ts:127


proposer_priority

proposer_priority: string

Defined in cosmos/definitions/TendermintValidator.ts:45

Defined in dfinance/definitions/TendermintValidator.ts:128


pub_key

pub_key: string

Defined in cosmos/definitions/TendermintValidator.ts:43

Defined in dfinance/definitions/TendermintValidator.ts:129


voting_power

voting_power: string

Defined in cosmos/definitions/TendermintValidator.ts:44

Defined in dfinance/definitions/TendermintValidator.ts:130

JSDKTextProposal

Interface: TextProposal

Hierarchy

  • TextProposal

Index

Properties

Properties

description

description: string

Defined in cosmos/definitions/TextProposal.ts:44

Defined in dfinance/definitions/TextProposal.ts:127


final_tally_result

final_tally_result: TallyResult

Defined in cosmos/definitions/TextProposal.ts:47

Defined in dfinance/definitions/TextProposal.ts:128


proposal_id

proposal_id: number

Defined in cosmos/definitions/TextProposal.ts:42

Defined in dfinance/definitions/TextProposal.ts:129


proposal_status

proposal_status: string

Defined in cosmos/definitions/TextProposal.ts:46

Defined in dfinance/definitions/TextProposal.ts:130


proposal_type

proposal_type: string

Defined in cosmos/definitions/TextProposal.ts:45

Defined in dfinance/definitions/TextProposal.ts:131


submit_time

submit_time: string

Defined in cosmos/definitions/TextProposal.ts:48

Defined in dfinance/definitions/TextProposal.ts:132


title

title: string

Defined in cosmos/definitions/TextProposal.ts:43

Defined in dfinance/definitions/TextProposal.ts:133


total_deposit

total_deposit: Coin[]

Defined in cosmos/definitions/TextProposal.ts:49

Defined in dfinance/definitions/TextProposal.ts:134


voting_start_time

voting_start_time: string

Defined in cosmos/definitions/TextProposal.ts:50

Defined in dfinance/definitions/TextProposal.ts:135

JSDKTxQuery

Interface: TxQuery

Hierarchy

  • TxQuery

Index

Properties

Properties

hash

hash: string

Defined in cosmos/definitions/TxQuery.ts:42

Defined in dfinance/definitions/TxQuery.ts:127


height

height: number

Defined in cosmos/definitions/TxQuery.ts:43

Defined in dfinance/definitions/TxQuery.ts:128


result

result: object

Defined in cosmos/definitions/TxQuery.ts:45

Defined in dfinance/definitions/TxQuery.ts:129

Type declaration:
  • gas_used: string

  • gas_wanted: string

  • log: string

  • tags: KvPair[]


tx

tx: StdTx

Defined in cosmos/definitions/TxQuery.ts:44

Defined in dfinance/definitions/TxQuery.ts:130

JSDKTypesAsset

Interface: TypesAsset

Hierarchy

  • TypesAsset

Index

Properties

Properties

active

active: boolean

Defined in dfinance/definitions/TypesAsset.ts:127


asset_code

asset_code: string

Defined in dfinance/definitions/TypesAsset.ts:128


oracles

oracles: TypesOracles

Defined in dfinance/definitions/TypesAsset.ts:129

JSDKTypesCall

Interface: TypesCall

Hierarchy

  • TypesCall

Index

Properties

Properties

approved

approved: boolean

Defined in dfinance/definitions/TypesCall.ts:127


creator

creator: string

Defined in dfinance/definitions/TypesCall.ts:128


error

error: string

Defined in dfinance/definitions/TypesCall.ts:129


executed

executed: boolean

Defined in dfinance/definitions/TypesCall.ts:130


failed

failed: boolean

Defined in dfinance/definitions/TypesCall.ts:131


height

height: number

Defined in dfinance/definitions/TypesCall.ts:132


id

id: string

Defined in dfinance/definitions/TypesCall.ts:133


msg_data

msg_data: MsmoduleMsMsg

Defined in dfinance/definitions/TypesCall.ts:134


msg_route

msg_route: string

Defined in dfinance/definitions/TypesCall.ts:135


msg_type

msg_type: string

Defined in dfinance/definitions/TypesCall.ts:136


rejected

rejected: boolean

Defined in dfinance/definitions/TypesCall.ts:137


unique_id

unique_id: string

Defined in dfinance/definitions/TypesCall.ts:138

JSDKTypesCallResp

Interface: TypesCallResp

Hierarchy

  • TypesCallResp

Index

Properties

Properties

call

call: TypesCall

Defined in dfinance/definitions/TypesCallResp.ts:127


votes

votes: string[]

Defined in dfinance/definitions/TypesCallResp.ts:128

JSDKTypesCoin

Interface: TypesCoin

Hierarchy

  • TypesCoin

Index

Properties

Properties

amount

amount: TypesInt

Defined in dfinance/definitions/TypesCoin.ts:127


denom

denom: string

Defined in dfinance/definitions/TypesCoin.ts:128

JSDKTypesCurrency

Interface: TypesCurrency

Hierarchy

  • TypesCurrency

Index

Properties

Properties

balance_path_hex

balance_path_hex: string

Defined in dfinance/definitions/TypesCurrency.ts:127


decimals

decimals: number

Defined in dfinance/definitions/TypesCurrency.ts:128


denom

denom: string

Defined in dfinance/definitions/TypesCurrency.ts:129


info_path_hex

info_path_hex: string

Defined in dfinance/definitions/TypesCurrency.ts:130


supply

supply: string

Defined in dfinance/definitions/TypesCurrency.ts:131

JSDKTypesCurrentPrice

Interface: TypesCurrentPrice

Hierarchy

  • TypesCurrentPrice

Index

Properties

Properties

asset_code

asset_code: string

Defined in dfinance/definitions/TypesCurrentPrice.ts:127


price

price: string

Defined in dfinance/definitions/TypesCurrentPrice.ts:128


received_at

received_at: string

Defined in dfinance/definitions/TypesCurrentPrice.ts:129

JSDKTypesDecCoin

Interface: TypesDecCoin

Hierarchy

  • TypesDecCoin

Index

Properties

Properties

amount

amount: TypesDec

Defined in dfinance/definitions/TypesDecCoin.ts:127


denom

denom: string

Defined in dfinance/definitions/TypesDecCoin.ts:128

JSDKTypesIssue

Interface: TypesIssue

Hierarchy

  • TypesIssue

Index

Properties

Properties

coin

coin: string

Defined in dfinance/definitions/TypesIssue.ts:127


payee

payee: string

Defined in dfinance/definitions/TypesIssue.ts:128

JSDKTypesMarket

Interface: TypesMarket

Hierarchy

  • TypesMarket

Index

Properties

Properties

base_asset_denom

base_asset_denom: string

Defined in dfinance/definitions/TypesMarket.ts:127


id

id: string

Defined in dfinance/definitions/TypesMarket.ts:128


quote_asset_denom

quote_asset_denom: string

Defined in dfinance/definitions/TypesMarket.ts:129

JSDKTypesMarketExtended

Interface: TypesMarketExtended

Hierarchy

  • TypesMarketExtended

Index

Properties

Properties

base_currency

base_currency: CcstorageCurrency

Defined in dfinance/definitions/TypesMarketExtended.ts:127


id

id: string

Defined in dfinance/definitions/TypesMarketExtended.ts:128


quote_currency

quote_currency: CcstorageCurrency

Defined in dfinance/definitions/TypesMarketExtended.ts:129

JSDKTypesMsgPostOrder

Interface: TypesMsgPostOrder

Hierarchy

  • TypesMsgPostOrder

Index

Properties

Properties

asset_code

asset_code: string

Defined in dfinance/definitions/TypesMsgPostOrder.ts:127


direction

direction: string

Defined in dfinance/definitions/TypesMsgPostOrder.ts:128


owner

owner: TypesAccAddress

Defined in dfinance/definitions/TypesMsgPostOrder.ts:129


price

price: TypesUint

Defined in dfinance/definitions/TypesMsgPostOrder.ts:130


quantity

quantity: TypesUint

Defined in dfinance/definitions/TypesMsgPostOrder.ts:131


ttl_in_sec

ttl_in_sec: number

Defined in dfinance/definitions/TypesMsgPostOrder.ts:132

JSDKTypesMsgRevokeOrder

Interface: TypesMsgRevokeOrder

Hierarchy

  • TypesMsgRevokeOrder

Index

Properties

Properties

order_id

order_id: string

Defined in dfinance/definitions/TypesMsgRevokeOrder.ts:127


owner

owner: TypesAccAddress

Defined in dfinance/definitions/TypesMsgRevokeOrder.ts:128

JSDKTypesOracle

Interface: TypesOracle

Hierarchy

  • TypesOracle

Index

Properties

Properties

address

address: string

Defined in dfinance/definitions/TypesOracle.ts:127

JSDKTypesOrder

Interface: TypesOrder

Hierarchy

  • TypesOrder

Index

Properties

Properties

created_at

created_at: string

Defined in dfinance/definitions/TypesOrder.ts:127


direction

direction: string

Defined in dfinance/definitions/TypesOrder.ts:128


id

id: string

Defined in dfinance/definitions/TypesOrder.ts:129


market

market: MarketsMarketExtended

Defined in dfinance/definitions/TypesOrder.ts:130


owner

owner: string

Defined in dfinance/definitions/TypesOrder.ts:131


price

price: string

Defined in dfinance/definitions/TypesOrder.ts:132


quantity

quantity: string

Defined in dfinance/definitions/TypesOrder.ts:133


ttl_dur

ttl_dur: number

Defined in dfinance/definitions/TypesOrder.ts:134


updated_at

updated_at: string

Defined in dfinance/definitions/TypesOrder.ts:135

JSDKTypesPostedPrice

Interface: TypesPostedPrice

Hierarchy

  • TypesPostedPrice

Index

Properties

Properties

asset_code

asset_code: string

Defined in dfinance/definitions/TypesPostedPrice.ts:127


oracle_address

oracle_address: string

Defined in dfinance/definitions/TypesPostedPrice.ts:128


price

price: string

Defined in dfinance/definitions/TypesPostedPrice.ts:129


received_at

received_at: string

Defined in dfinance/definitions/TypesPostedPrice.ts:130

JSDKTypesStdFee

Interface: TypesStdFee

Hierarchy

  • TypesStdFee

Index

Properties

Properties

amount

amount: TypesCoins

Defined in dfinance/definitions/TypesStdFee.ts:127


gas

gas: number

Defined in dfinance/definitions/TypesStdFee.ts:128

JSDKTypesStdSignature

Interface: TypesStdSignature

Hierarchy

  • TypesStdSignature

Index

Properties

Properties

signature

signature: number[]

Defined in dfinance/definitions/TypesStdSignature.ts:127

JSDKTypesStdTx

Interface: TypesStdTx

Hierarchy

  • TypesStdTx

Index

Properties

Properties

fee

fee: TypesStdFee

Defined in dfinance/definitions/TypesStdTx.ts:127


memo

memo: string

Defined in dfinance/definitions/TypesStdTx.ts:128


msg

msg: TypesMsg[]

Defined in dfinance/definitions/TypesStdTx.ts:129


signatures

signatures: TypesStdSignature[]

Defined in dfinance/definitions/TypesStdTx.ts:130

JSDKTypesTxVmStatus

Interface: TypesTxVmStatus

Hierarchy

  • TypesTxVmStatus

Index

Properties

Properties

hash

hash: string

Defined in dfinance/definitions/TypesTxVmStatus.ts:127


vm_status

vm_status: TypesVmStatuses

Defined in dfinance/definitions/TypesTxVmStatus.ts:128

JSDKTypesValidator

Interface: TypesValidator

Hierarchy

  • TypesValidator

Index

Properties

Properties

address

address: TypesAddress

Defined in dfinance/definitions/TypesValidator.ts:127


proposer_priority

proposer_priority: number

Defined in dfinance/definitions/TypesValidator.ts:128


pub_key

pub_key: CryptoPubKey

Defined in dfinance/definitions/TypesValidator.ts:129


voting_power

voting_power: number

Defined in dfinance/definitions/TypesValidator.ts:130

JSDKTypesValidatorsConfirmationsResp

Interface: TypesValidatorsConfirmationsResp

Hierarchy

  • TypesValidatorsConfirmationsResp

Index

Properties

Properties

confirmations

confirmations: number

Defined in dfinance/definitions/TypesValidatorsConfirmationsResp.ts:127


validators

validators: TypesValidators

Defined in dfinance/definitions/TypesValidatorsConfirmationsResp.ts:128

JSDKTypesValueResp

Interface: TypesValueResp

Hierarchy

  • TypesValueResp

Index

Properties

Properties

value

value: string

Defined in dfinance/definitions/TypesValueResp.ts:127

JSDKTypesVmStatus

Interface: TypesVmStatus

Hierarchy

  • TypesVmStatus

Index

Properties

Properties

major_code

major_code: string

Defined in dfinance/definitions/TypesVmStatus.ts:127


message

message: string

Defined in dfinance/definitions/TypesVmStatus.ts:128


status

status: string

Defined in dfinance/definitions/TypesVmStatus.ts:129


str_code

str_code: string

Defined in dfinance/definitions/TypesVmStatus.ts:130


sub_code

sub_code: string

Defined in dfinance/definitions/TypesVmStatus.ts:131

JSDKTypesWithdraw

Interface: TypesWithdraw

Hierarchy

  • TypesWithdraw

Index

Properties

Properties

coin

coin: string

Defined in dfinance/definitions/TypesWithdraw.ts:127


id

id: string

Defined in dfinance/definitions/TypesWithdraw.ts:128


pegzone_chain_id

pegzone_chain_id: string

Defined in dfinance/definitions/TypesWithdraw.ts:129


pegzone_spender

pegzone_spender: string

Defined in dfinance/definitions/TypesWithdraw.ts:130


spender

spender: string

Defined in dfinance/definitions/TypesWithdraw.ts:131


timestamp

timestamp: number

Defined in dfinance/definitions/TypesWithdraw.ts:132


tx_hash

tx_hash: string

Defined in dfinance/definitions/TypesWithdraw.ts:133

JSDKUnbondingDelegation

Interface: UnbondingDelegation

Hierarchy

  • UnbondingDelegation

Index

Properties

Properties

balance

balance: string

Defined in cosmos/definitions/UnbondingDelegation.ts:45

Defined in dfinance/definitions/UnbondingDelegation.ts:127


creation_height

creation_height: number

Defined in cosmos/definitions/UnbondingDelegation.ts:46

Defined in dfinance/definitions/UnbondingDelegation.ts:128


delegator_address

delegator_address: string

Defined in cosmos/definitions/UnbondingDelegation.ts:42

Defined in dfinance/definitions/UnbondingDelegation.ts:129


initial_balance

initial_balance: string

Defined in cosmos/definitions/UnbondingDelegation.ts:44

Defined in dfinance/definitions/UnbondingDelegation.ts:130


min_time

min_time: number

Defined in cosmos/definitions/UnbondingDelegation.ts:47

Defined in dfinance/definitions/UnbondingDelegation.ts:131


validator_address

validator_address: string

Defined in cosmos/definitions/UnbondingDelegation.ts:43

Defined in dfinance/definitions/UnbondingDelegation.ts:132

JSDKUnbondingDelegationPair

Interface: UnbondingDelegationPair

Hierarchy

  • UnbondingDelegationPair

Index

Properties

Properties

delegator_address

delegator_address: string

Defined in cosmos/definitions/UnbondingDelegationPair.ts:42

Defined in dfinance/definitions/UnbondingDelegationPair.ts:127


entries

entries: UnbondingEntries[]

Defined in cosmos/definitions/UnbondingDelegationPair.ts:44

Defined in dfinance/definitions/UnbondingDelegationPair.ts:128


validator_address

validator_address: string

Defined in cosmos/definitions/UnbondingDelegationPair.ts:43

Defined in dfinance/definitions/UnbondingDelegationPair.ts:129

JSDKUnbondingEntries

Interface: UnbondingEntries

Hierarchy

  • UnbondingEntries

Index

Properties

Properties

balance

balance: string

Defined in cosmos/definitions/UnbondingEntries.ts:43

Defined in dfinance/definitions/UnbondingEntries.ts:127


creation_height

creation_height: string

Defined in cosmos/definitions/UnbondingEntries.ts:44

Defined in dfinance/definitions/UnbondingEntries.ts:128


initial_balance

initial_balance: string

Defined in cosmos/definitions/UnbondingEntries.ts:42

Defined in dfinance/definitions/UnbondingEntries.ts:129


min_time

min_time: string

Defined in cosmos/definitions/UnbondingEntries.ts:45

Defined in dfinance/definitions/UnbondingEntries.ts:130

JSDKValidator

Interface: Validator

Hierarchy

  • Validator

Index

Properties

Properties

bond_height

bond_height: string

Defined in cosmos/definitions/Validator.ts:49

Defined in dfinance/definitions/Validator.ts:127


bond_intra_tx_counter

bond_intra_tx_counter: number

Defined in cosmos/definitions/Validator.ts:50

Defined in dfinance/definitions/Validator.ts:128


commission

commission: object

Defined in cosmos/definitions/Validator.ts:53

Defined in dfinance/definitions/Validator.ts:129

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:43

Defined in dfinance/definitions/Validator.ts:130


delegator_shares

delegator_shares: string

Defined in cosmos/definitions/Validator.ts:47

Defined in dfinance/definitions/Validator.ts:131


description

description: object

Defined in cosmos/definitions/Validator.ts:48

Defined in dfinance/definitions/Validator.ts:132

Type declaration:
  • details: string

  • identity: string

  • moniker: string

  • security_contact: string

  • website: string


jailed

jailed: boolean

Defined in cosmos/definitions/Validator.ts:44

Defined in dfinance/definitions/Validator.ts:133


operator_address

operator_address: ValidatorAddress

Defined in cosmos/definitions/Validator.ts:42

Defined in dfinance/definitions/Validator.ts:134


status

status: number

Defined in cosmos/definitions/Validator.ts:45

Defined in dfinance/definitions/Validator.ts:135


tokens

tokens: string

Defined in cosmos/definitions/Validator.ts:46

Defined in dfinance/definitions/Validator.ts:136


unbonding_height

unbonding_height: string

Defined in cosmos/definitions/Validator.ts:51

Defined in dfinance/definitions/Validator.ts:137


unbonding_time

unbonding_time: string

Defined in cosmos/definitions/Validator.ts:52

Defined in dfinance/definitions/Validator.ts:138

JSDKValidatorDistInfo

Interface: ValidatorDistInfo

Hierarchy

  • ValidatorDistInfo

Index

Properties

Properties

operator_address

operator_address: ValidatorAddress

Defined in cosmos/definitions/ValidatorDistInfo.ts:42

Defined in dfinance/definitions/ValidatorDistInfo.ts:127


self_bond_rewards

self_bond_rewards: Coin[]

Defined in cosmos/definitions/ValidatorDistInfo.ts:43

Defined in dfinance/definitions/ValidatorDistInfo.ts:128


val_commission

val_commission: Coin[]

Defined in cosmos/definitions/ValidatorDistInfo.ts:44

Defined in dfinance/definitions/ValidatorDistInfo.ts:129

JSDKVmClientMoveFile

Interface: VmClientMoveFile

Hierarchy

  • VmClientMoveFile

Index

Properties

Properties

code

code: string

Defined in dfinance/definitions/VmClientMoveFile.ts:127

JSDKVote

Interface: Vote

Hierarchy

  • Vote

Index

Properties

Properties

option

option: string

Defined in cosmos/definitions/Vote.ts:44

Defined in dfinance/definitions/Vote.ts:127


proposal_id

proposal_id: string

Defined in cosmos/definitions/Vote.ts:43

Defined in dfinance/definitions/Vote.ts:128


voter

voter: string

Defined in cosmos/definitions/Vote.ts:42

Defined in dfinance/definitions/Vote.ts:129

FAQs

Package last updated on 05 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