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

dfin-jsdk

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dfin-jsdk

## Index

  • 0.0.51
  • npm
  • Socket score

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

JSDK

Globals

JSDK

Index

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

Address

Ƭ Address: string

Defined in src/services/sdk/cosmos/definitions/Address.ts:131

Defined in src/services/sdk/dfinance/definitions/Address.ts:132


AuthStdTx

Ƭ AuthStdTx: TypesStdTx

Defined in src/services/sdk/cosmos/definitions/AuthStdTx.ts:131

Defined in src/services/sdk/dfinance/definitions/AuthStdTx.ts:132


CcstorageCurrencies

Ƭ CcstorageCurrencies: TypesCurrencies

Defined in src/services/sdk/cosmos/definitions/CcstorageCurrencies.ts:131

Defined in src/services/sdk/dfinance/definitions/CcstorageCurrencies.ts:132


CcstorageCurrency

Ƭ CcstorageCurrency: TypesCurrency

Defined in src/services/sdk/cosmos/definitions/CcstorageCurrency.ts:131

Defined in src/services/sdk/dfinance/definitions/CcstorageCurrency.ts:132


Creator

Ƭ Creator: (account: Account,signer: Signer) => void

Defined in src/services/sdk/extra/transactions/types/index.ts:13


CryptoPubKey

Ƭ CryptoPubKey: object

Defined in src/services/sdk/cosmos/definitions/CryptoPubKey.ts:131

Defined in src/services/sdk/dfinance/definitions/CryptoPubKey.ts:132


Hash

Ƭ Hash: string

Defined in src/services/sdk/cosmos/definitions/Hash.ts:131

Defined in src/services/sdk/dfinance/definitions/Hash.ts:132


IRequestConfiguration

Ƭ IRequestConfiguration: Partial<Request> & { baseURL?: undefined | string ; debug?: undefined | false | true }

Defined in src/services/sdk/cosmos/rests/axios.ts:7

Defined in src/services/sdk/cosmos/rests/fetch.ts:6

Defined in src/services/sdk/dfinance/rests/axios.ts:7

Defined in src/services/sdk/dfinance/rests/fetch.ts:6


MarketsMarketExtended

Ƭ MarketsMarketExtended: TypesMarketExtended

Defined in src/services/sdk/cosmos/definitions/MarketsMarketExtended.ts:131

Defined in src/services/sdk/dfinance/definitions/MarketsMarketExtended.ts:132


Msg

Ƭ Msg: string

Defined in src/services/sdk/cosmos/definitions/Msg.ts:131

Defined in src/services/sdk/dfinance/definitions/Msg.ts:132


MsmoduleMsMsg

Ƭ MsmoduleMsMsg: object

Defined in src/services/sdk/cosmos/definitions/MsmoduleMsMsg.ts:131

Defined in src/services/sdk/dfinance/definitions/MsmoduleMsMsg.ts:132


Signer

Ƭ Signer: (data: any) => any

Defined in src/services/sdk/extra/transactions/types/index.ts:11


TypesAccAddress

Ƭ TypesAccAddress: number[]

Defined in src/services/sdk/cosmos/definitions/TypesAccAddress.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesAccAddress.ts:132


TypesAssets

Ƭ TypesAssets: TypesAsset[]

Defined in src/services/sdk/cosmos/definitions/TypesAssets.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesAssets.ts:132


TypesCallsResp

Ƭ TypesCallsResp: TypesCallResp[]

Defined in src/services/sdk/cosmos/definitions/TypesCallsResp.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesCallsResp.ts:132


TypesCoins

Ƭ TypesCoins: TypesCoin[]

Defined in src/services/sdk/cosmos/definitions/TypesCoins.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesCoins.ts:132


TypesCurrencies

Ƭ TypesCurrencies: TypesCurrency[]

Defined in src/services/sdk/cosmos/definitions/TypesCurrencies.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesCurrencies.ts:132


TypesDec

Ƭ TypesDec: object

Defined in src/services/sdk/cosmos/definitions/TypesDec.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesDec.ts:132


TypesDecCoins

Ƭ TypesDecCoins: TypesDecCoin[]

Defined in src/services/sdk/cosmos/definitions/TypesDecCoins.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesDecCoins.ts:132


TypesId

Ƭ TypesId: any

Defined in src/services/sdk/cosmos/definitions/TypesId.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesId.ts:132


TypesInt

Ƭ TypesInt: object

Defined in src/services/sdk/cosmos/definitions/TypesInt.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesInt.ts:132


TypesMarkets

Ƭ TypesMarkets: TypesMarket[]

Defined in src/services/sdk/cosmos/definitions/TypesMarkets.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesMarkets.ts:132


TypesMsg

Ƭ TypesMsg: object

Defined in src/services/sdk/cosmos/definitions/TypesMsg.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesMsg.ts:132


TypesOracles

Ƭ TypesOracles: TypesOracle[]

Defined in src/services/sdk/cosmos/definitions/TypesOracles.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesOracles.ts:132


TypesOrders

Ƭ TypesOrders: TypesOrder[]

Defined in src/services/sdk/cosmos/definitions/TypesOrders.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesOrders.ts:132


TypesUint

Ƭ TypesUint: object

Defined in src/services/sdk/cosmos/definitions/TypesUint.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesUint.ts:132


TypesValAddress

Ƭ TypesValAddress: number[]

Defined in src/services/sdk/cosmos/definitions/TypesValAddress.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesValAddress.ts:132


TypesValidators

Ƭ TypesValidators: TypesValidator[]

Defined in src/services/sdk/cosmos/definitions/TypesValidators.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesValidators.ts:132


TypesVmStatuses

Ƭ TypesVmStatuses: TypesVmStatus[]

Defined in src/services/sdk/cosmos/definitions/TypesVmStatuses.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesVmStatuses.ts:132


TypesWithdraws

Ƭ TypesWithdraws: TypesWithdraw[]

Defined in src/services/sdk/cosmos/definitions/TypesWithdraws.ts:131

Defined in src/services/sdk/dfinance/definitions/TypesWithdraws.ts:132


ValidatorAddress

Ƭ ValidatorAddress: string

Defined in src/services/sdk/cosmos/definitions/ValidatorAddress.ts:131

Defined in src/services/sdk/dfinance/definitions/ValidatorAddress.ts:132

Variables

db

Const db: DB = new DB()

Defined in src/services/sdk/extra/DB/index.ts:187


id

Let id: number = 0

Defined in src/services/sdk/cosmos/rests/axios.ts:27

Defined in src/services/sdk/cosmos/rests/fetch.ts:27

Defined in src/services/sdk/dfinance/rests/axios.ts:27

Defined in src/services/sdk/dfinance/rests/fetch.ts:27


logging

Const logging: Logger = log.noConflict()

Defined in src/services/sdk/cosmos/utils/Log.ts:6

Defined in src/services/sdk/dfinance/utils/Log.ts:6


path

Const path: string = `44'/118'/0'/0/0`

Defined in src/services/sdk/extra/crypto/tests/index.test.ts:9


timers

Const timers: object

Defined in src/services/sdk/cosmos/utils/Timer.ts:12

Defined in src/services/sdk/dfinance/utils/Timer.ts:12

Functions

bech32ify

bech32ify(address: ArrayLike<number>, prefix: string): string

Defined in src/services/sdk/extra/crypto/index.ts:35

Parameters:
NameType
addressArrayLike<number>
prefixstring

Returns: string


createCosmosAddress

createCosmosAddress(publicKey: Uint8Array, prefix: string): string

Defined in src/services/sdk/extra/crypto/index.ts:52

Parameters:
NameType
publicKeyUint8Array
prefixstring

Returns: string


decimal

Constdecimal(value: Decimal.Value): Decimal

Defined in src/services/sdk/extra/DB/index.ts:7

Parameters:
NameType
valueDecimal.Value

Returns: Decimal


delegationTransaction

delegationTransaction(wallet: Wallet, __namedParameters: { amount: string ; chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; validatorAddress: string }): Promise<any>

Defined in src/services/sdk/extra/transactions/delegationTransaction.ts:15

Parameters:
NameType
walletWallet
__namedParameters{ amount: string ; chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; validatorAddress: string }

Returns: Promise<any>


deriveKeypair

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

Defined in src/services/sdk/extra/crypto/index.ts:70

Parameters:
NameType
masterKeyBIP32Interface
pathstring

Returns: KeyPair


deriveMasterKey

deriveMasterKey(mnemonic: string, password?: undefined | string): Promise<BIP32Interface>

Defined in src/services/sdk/extra/crypto/index.ts:61

Parameters:
NameType
mnemonicstring
password?undefined | string

Returns: Promise<BIP32Interface>


destroyTransaction

destroyTransaction(wallet: Wallet, __namedParameters: { amount: string ; chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; toAddress: string }): Promise<any>

Defined in src/services/sdk/extra/transactions/destroyTransaction.ts:15

Parameters:
NameType
walletWallet
__namedParameters{ amount: string ; chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; toAddress: string }

Returns: Promise<any>


extendedConfiguration

extendedConfiguration(configurations: Partial<IRequestConfiguration>): Partial<IRequestConfiguration>

Defined in src/services/sdk/cosmos/rests/axios.ts:23

Parameters:
NameTypeDefault value
configurationsPartial<IRequestConfiguration>{}

Returns: Partial<IRequestConfiguration>


generateAccount

generateAccount(data: { mnemonic?: undefined | string ; passphrase: string ; path: string ; prefix?: undefined | string }): Promise<any>

Defined in src/services/sdk/extra/crypto/index.ts:143

Parameters:
NameType
data{ mnemonic?: undefined | string ; passphrase: string ; path: string ; prefix?: undefined | string }

Returns: Promise<any>


generateAccountFromSeed

generateAccountFromSeed(__namedParameters: { mnemonic: undefined | string ; passphrase: string ; path: string ; prefix: string = "wallet"; randomBytesFunc: (x: number) => string = standardRandomBytesFunc }): Promise<any>

Defined in src/services/sdk/extra/crypto/index.ts:114

Parameters:
NameType
__namedParameters{ mnemonic: undefined | string ; passphrase: string ; path: string ; prefix: string = "wallet"; randomBytesFunc: (x: number) => string = standardRandomBytesFunc }

Returns: Promise<any>


generateSeed

generateSeed(randomBytesFunc: (x: number) => string): string

Defined in src/services/sdk/extra/crypto/index.ts:41

Parameters:
NameTypeDefault value
randomBytesFunc(x: number) => stringstandardRandomBytesFunc

Returns: string


generateWallet

generateWallet(password: string, path: string, prefix: string, randomBytesFunc: (x: number) => string): Promise<Wallet>

Defined in src/services/sdk/extra/crypto/index.ts:103

Parameters:
NameTypeDefault value
passwordstring-
pathstring-
prefixstring"wallet"
randomBytesFunc(x: number) => stringstandardRandomBytesFunc

Returns: Promise<Wallet>


generateWalletFromSeed

generateWalletFromSeed(mnemonic: string, password: string, path: string, prefix: string): Promise<Wallet>

Defined in src/services/sdk/extra/crypto/index.ts:82

Parameters:
NameTypeDefault value
mnemonicstring-
passwordstring-
pathstring-
prefixstring"wallet"

Returns: Promise<Wallet>


getBalances

getBalances(address: string, sort: any): Promise<Balance[]>

Defined in src/services/sdk/extra/combined/balances.ts:16

Parameters:
NameTypeDefault value
addressstring-
sortanySORT

Returns: Promise<Balance[]>


getConfigurations

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

Defined in src/services/sdk/cosmos/rests/axios.ts:62

Parameters:
NameTypeDefault value
methodMethod-
contentTypestring-
urlstring-
configurations?IRequestConfiguration-
extendablebooleantrue

Returns: IRequestConfiguration


globalConfiguration

globalConfiguration(configurations?: Partial<IRequestConfiguration>): Partial<IRequestConfiguration>

Defined in src/services/sdk/cosmos/rests/axios.ts:15

Parameters:
NameType
configurations?Partial<IRequestConfiguration>

Returns: Partial<IRequestConfiguration>


isObject

isObject(obj: unknown): boolean

Defined in src/services/sdk/extra/transactions/utils/index.ts:19

Parameters:
NameType
objunknown

Returns: boolean


moneyTransaction

moneyTransaction(wallet: Wallet, __namedParameters: { amount: string ; chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; toAddress: string }): Promise<any>

Defined in src/services/sdk/extra/transactions/moneyTransaction.ts:15

Parameters:
NameType
walletWallet
__namedParameters{ amount: string ; chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; toAddress: string }

Returns: Promise<any>


redelegationTransaction

redelegationTransaction(wallet: Wallet, __namedParameters: { amount: string ; chainId: string ; currency: string ; fee: string ; fromValidatorAddress: string ; gas: string ; memo: string = ""; toValidatorAddress: string }): Promise<any>

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:16

Parameters:
NameType
walletWallet
__namedParameters{ amount: string ; chainId: string ; currency: string ; fee: string ; fromValidatorAddress: string ; gas: string ; memo: string = ""; toValidatorAddress: string }

Returns: Promise<any>


request

request(configurations: IRequestConfiguration, resolve: (p: any) => void, reject: (p: any) => void): Promise<any>

Defined in src/services/sdk/cosmos/rests/axios.ts:29

Parameters:
NameType
configurationsIRequestConfiguration
resolve(p: any) => void
reject(p: any) => void

Returns: Promise<any>


sign

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

Defined in src/services/sdk/extra/transactions/utils/index.ts:5

Parameters:
NameType
bytesBinaryLike
privateKeyUint8Array

Returns: Uint8Array


signJson

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

Defined in src/services/sdk/extra/transactions/utils/index.ts:11

Parameters:
NameType
dataany
privateKeyUint8Array

Returns: Uint8Array


signTransaction

signTransaction(data: any, privateKey: string): Buffer

Defined in src/services/sdk/extra/transactions/utils/index.ts:15

Parameters:
NameType
dataany
privateKeystring

Returns: Buffer


sortObject

sortObject(data: any): any

Defined in src/services/sdk/extra/transactions/utils/index.ts:23

Parameters:
NameType
dataany

Returns: any


standardRandomBytesFunc

ConststandardRandomBytesFunc(x: number): string

Defined in src/services/sdk/extra/crypto/index.ts:33

Parameters:
NameType
xnumber

Returns: string


transaction

transaction(__namedParameters: { creator: Creator ; mode: string = "block"; wallet: Wallet }): Promise<any>

Defined in src/services/sdk/extra/transactions/transaction/index.ts:10

Parameters:
NameType
__namedParameters{ creator: Creator ; mode: string = "block"; wallet: Wallet }

Returns: Promise<any>


unbondingDelegationTransaction

unbondingDelegationTransaction(wallet: Wallet, __namedParameters: { amount: string ; chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; validatorAddress: string }): Promise<any>

Defined in src/services/sdk/extra/transactions/unbondingDelegationTransaction.ts:15

Parameters:
NameType
walletWallet
__namedParameters{ amount: string ; chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; validatorAddress: string }

Returns: Promise<any>


withdrawRewardTransaction

withdrawRewardTransaction(wallet: Wallet, __namedParameters: { chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; validatorAddress: string }): Promise<any>

Defined in src/services/sdk/extra/transactions/withdrawRewardTransaction.ts:14

Parameters:
NameType
walletWallet
__namedParameters{ chainId: string ; currency: string ; fee: string ; gas: string ; memo: string = ""; validatorAddress: string }

Returns: Promise<any>

Object literals

SORT

Const SORT: object

Defined in src/services/sdk/extra/combined/balances.ts:4

Properties:
NameTypeValue
ethnumber100
sxfinumber900
xfinumber1000

basicConfiguration

Let basicConfiguration: object

Defined in src/services/sdk/cosmos/rests/axios.ts:11

Defined in src/services/sdk/cosmos/rests/fetch.ts:11

Defined in src/services/sdk/dfinance/rests/axios.ts:11

Defined in src/services/sdk/dfinance/rests/fetch.ts:11

Properties:
NameTypeValue
baseURLstring`${process.env.DFINANCE_API_URL}`

Classes

JSDK

Globals / AuthService

Class: AuthService

Hierarchy

  • AuthService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/AuthService.ts:138

Defined in src/services/sdk/dfinance/AuthService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/AuthService.ts:137

Defined in src/services/sdk/dfinance/AuthService.ts:138

Methods

getAuthAccountsAddress

StaticgetAuthAccountsAddress<Return>(parameters: { address: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/AuthService.ts:165

description Get the account information on blockchain

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

method getAuthAccountsAddress

see /auth/accounts/{address}

Type parameters:
NameDefault
Return{ type: string ; value: { account_number: string ; address: string ; coins: Coin[] ; public_key: PublicKey ; sequence: string } }
Parameters:
NameTypeDescription
parameters{ address: string }
options?IRequestConfiguration

Returns: Promise<Return>

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

JSDK

Globals / BankService

Class: BankService

Hierarchy

  • BankService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/BankService.ts:138

Defined in src/services/sdk/dfinance/BankService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/BankService.ts:137

Defined in src/services/sdk/dfinance/BankService.ts:138

Methods

getBankBalancesAddress

StaticgetBankBalancesAddress<Return>(parameters: { address: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/BankService.ts:195

description Get the account balances

200 - Account balances
500 - Server internal error

method getBankBalancesAddress

see /bank/balances/{address}

Type parameters:
NameDefault
ReturnCoin[]
Parameters:
NameTypeDescription
parameters{ address: string }
options?IRequestConfiguration

Returns: Promise<Return>


postBankAccountsAddressTransfers

StaticpostBankAccountsAddressTransfers<Return>(parameters: { account: { amount: Coin[] ; base_req: BaseReq } ; address: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/BankService.ts:161

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

Type parameters:
NameDefault
Returnany
Parameters:
NameTypeDescription
parameters{ account: { amount: Coin[] ; base_req: BaseReq } ; address: string }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / CurrenciesService

Class: CurrenciesService

Hierarchy

  • CurrenciesService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/CurrenciesService.ts:138

Defined in src/services/sdk/dfinance/CurrenciesService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/CurrenciesService.ts:137

Defined in src/services/sdk/dfinance/CurrenciesService.ts:138

Methods

getCurrencies

StaticgetCurrencies<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/CurrenciesService.ts:154

description Get all registered currencies

200 - OK
500 - Returned on server error

method getCurrencies

see /currencies

Type parameters:
NameDefault
ReturnRestCcRespGetCurrencies
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>


getCurrenciesCurrencyDenom

StaticgetCurrenciesCurrencyDenom<Return>(parameters: { denom: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/CurrenciesService.ts:181

description Get currency

description Get currency by denom

200 - OK
500 - Returned on server error

method getCurrenciesCurrencyDenom

see /currencies/currency/{denom}

Type parameters:
NameDefault
ReturnRestCcRespGetCurrency
Parameters:
NameTypeDescription
parameters{ denom: string }
options?IRequestConfiguration

Returns: Promise<Return>


getCurrenciesIssueIssueId

StaticgetCurrenciesIssueIssueId<Return>(parameters: { issueID: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/CurrenciesService.ts:248

description Get currency issue

description Get currency issue by issueID

200 - OK
500 - Returned on server error

method getCurrenciesIssueIssueId

see /currencies/issue/{issueID}

Type parameters:
NameDefault
ReturnRestCcRespGetIssue
Parameters:
NameTypeDescription
parameters{ issueID: string }
options?IRequestConfiguration

Returns: Promise<Return>


getCurrenciesWithdrawWithdrawId

StaticgetCurrenciesWithdrawWithdrawId<Return>(parameters: { withdrawID: number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/CurrenciesService.ts:316

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}

Type parameters:
NameDefault
ReturnRestCcRespGetWithdraw
Parameters:
NameTypeDescription
parameters{ withdrawID: number }
options?IRequestConfiguration

Returns: Promise<Return>


getCurrenciesWithdraws

StaticgetCurrenciesWithdraws<Return>(parameters: { limit?: undefined | number ; page?: undefined | number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/CurrenciesService.ts:350

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

Type parameters:
NameDefault
ReturnRestCcRespGetWithdraws
Parameters:
NameTypeDescription
parameters{ limit?: undefined | number ; page?: undefined | number }
options?IRequestConfiguration

Returns: Promise<Return>


putCurrenciesIssue

StaticputCurrenciesIssue<Return>(parameters: { request: RestSubmitIssueReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/CurrenciesService.ts:214

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

Type parameters:
NameDefault
ReturnRestCcRespStdTx
Parameters:
NameTypeDescription
parameters{ request: RestSubmitIssueReq }
options?IRequestConfiguration

Returns: Promise<Return>


putCurrenciesUnstake

StaticputCurrenciesUnstake<Return>(parameters: { request: RestUnstakeReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/dfinance/CurrenciesService.ts:282

description Unstake tx

description Get new unstake multi signature message stdTx object

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

method putCurrenciesUnstake

see /currencies/unstake

Type parameters:
NameDefault
ReturnRestCcRespStdTx
Parameters:
NameTypeDescription
parameters{ request: RestUnstakeReq }
options?IRequestConfiguration

Returns: Promise<Return>


putCurrenciesWithdraw

StaticputCurrenciesWithdraw<Return>(parameters: { request: RestWithdrawReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/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

Type parameters:
NameDefault
ReturnRestCcRespStdTx
Parameters:
NameTypeDescription
parameters{ request: RestWithdrawReq }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / DB

Class: DB

Hierarchy

  • DB

Index

Constructors
Methods

Constructors

constructor

+ new DB(configuration: AxiosRequestConfig): DB

Defined in src/services/sdk/extra/DB/index.ts:10

Parameters:
NameTypeDefault value
configurationAxiosRequestConfig{}

Returns: DB

Methods

getBlock

getBlock(height: string): Promise<any>

Defined in src/services/sdk/extra/DB/index.ts:32

description Query blocks

200 - OK
500 - Internal Server Error

method getBlock

Parameters:
NameTypeDefault valueDescription
heightstring"latest"

Returns: Promise<any>


getCurrentBlock

getCurrentBlock(): Promise<any>

Defined in src/services/sdk/extra/DB/index.ts:116

description Query last block

200 - OK
500 - Internal Server Error

method getCurrentBlock

Returns: Promise<any>


getLatestTransactions

getLatestTransactions(count: number): Promise<any>

Defined in src/services/sdk/extra/DB/index.ts:66

description Query last "N" transactions

200 - OK
500 - Internal Server Error

method getLatestTransactions

Parameters:
NameTypeDescription
countnumber

Returns: Promise<any>


getPriceHistory

getPriceHistory(ticker: string): Promise<any>

Defined in src/services/sdk/extra/DB/index.ts:150

description Query price history

200 - OK
500 - Internal Server Error

method getPriceHistory

Parameters:
NameTypeDescription
tickerstring

Returns: Promise<any>


getTotal

getTotal(type: string): Promise<any>

Defined in src/services/sdk/extra/DB/index.ts:133

description Get total blocks/transactions

200 - OK
500 - Internal Server Error

method getTotal

Parameters:
NameTypeDescription
typestringblocks or txs

Returns: Promise<any>


getTransaction

getTransaction(hash: string): Promise<any>

Defined in src/services/sdk/extra/DB/index.ts:49

description Query transactions

200 - OK
500 - Internal Server Error

method getTransaction

Parameters:
NameTypeDescription
hashstring

Returns: Promise<any>


requestTokens

requestTokens(address: string): Promise<any>

Defined in src/services/sdk/extra/DB/index.ts:100

description Request tokens

200 - OK
500 - Internal Server Error

method requestTokens

Parameters:
NameTypeDescription
addressstring

Returns: Promise<any>


searchTxs

searchTxs(params: any): Promise<any>

Defined in src/services/sdk/extra/DB/index.ts:83

description Search transactions

200 - OK
500 - Internal Server Error

method searchTxs

Parameters:
NameTypeDescription
paramsany

Returns: Promise<any>

JSDK

Globals / DistributionService

Class: DistributionService

Hierarchy

  • DistributionService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/DistributionService.ts:138

Defined in src/services/sdk/dfinance/DistributionService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/DistributionService.ts:137

Defined in src/services/sdk/dfinance/DistributionService.ts:138

Methods

getDistributionCommunityPool

StaticgetDistributionCommunityPool<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:154

description Community pool parameters

200 - OK
500 - Internal Server Error

method getDistributionCommunityPool

see /distribution/community_pool

Type parameters:
NameDefault
ReturnCoin[]
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>


getDistributionDelegatorsDelegatorAddrRewards

StaticgetDistributionDelegatorsDelegatorAddrRewards<Return>(parameters: { delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:182

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

Type parameters:
NameDefault
ReturnDelegatorTotalRewards
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr

StaticgetDistributionDelegatorsDelegatorAddrRewardsValidatorAddr<Return>(parameters: { delegatorAddr: string ; validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:256

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}

Type parameters:
NameDefault
ReturnCoin[]
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string ; validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getDistributionDelegatorsDelegatorAddrWithdrawAddress

StaticgetDistributionDelegatorsDelegatorAddrWithdrawAddress<Return>(parameters: { delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:336

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

Type parameters:
NameDefault
ReturnAddress
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getDistributionParameters

StaticgetDistributionParameters<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:416

description Fee distribution parameters

200 - OK
500 - Internal Server Error

method getDistributionParameters

see /distribution/parameters

Type parameters:
NameDefault
Return{ base_proposer_reward: string ; bonus_proposer_reward: string ; community_tax: string }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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


getDistributionValidatorsValidatorAddr

StaticgetDistributionValidatorsValidatorAddr<Return>(parameters: { validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:446

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}

Type parameters:
NameDefault
ReturnValidatorDistInfo
Parameters:
NameTypeDescription
parameters{ validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getDistributionValidatorsValidatorAddrOutstandingRewards

StaticgetDistributionValidatorsValidatorAddrOutstandingRewards<Return>(parameters: { validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:477

description Fee distribution outstanding rewards of a single validator

200 - OK
500 - Internal Server Error

method getDistributionValidatorsValidatorAddrOutstandingRewards

see /distribution/validators/{validatorAddr}/outstanding_rewards

Type parameters:
NameDefault
ReturnCoin[]
Parameters:
NameTypeDescription
parameters{ validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getDistributionValidatorsValidatorAddrRewards

StaticgetDistributionValidatorsValidatorAddrRewards<Return>(parameters: { validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:513

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

Type parameters:
NameDefault
ReturnCoin[]
Parameters:
NameTypeDescription
parameters{ validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


postDistributionDelegatorsDelegatorAddrRewards

StaticpostDistributionDelegatorsDelegatorAddrRewards<Return>(parameters: { Withdraw request body?: undefined | { base_req: BaseReq } ; delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:219

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ Withdraw request body?: undefined | { base_req: BaseReq } ; delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr

StaticpostDistributionDelegatorsDelegatorAddrRewardsValidatorAddr<Return>(parameters: { Withdraw request body?: undefined | { base_req: BaseReq } ; delegatorAddr: string ; validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:297

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}

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ Withdraw request body?: undefined | { base_req: BaseReq } ; delegatorAddr: string ; validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


postDistributionDelegatorsDelegatorAddrWithdrawAddress

StaticpostDistributionDelegatorsDelegatorAddrWithdrawAddress<Return>(parameters: { Withdraw request body?: undefined | { base_req: BaseReq ; withdraw_address: Address } ; delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:377

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ Withdraw request body?: undefined | { base_req: BaseReq ; withdraw_address: Address } ; delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


postDistributionValidatorsValidatorAddrRewards

StaticpostDistributionValidatorsValidatorAddrRewards<Return>(parameters: { Withdraw request body?: undefined | { base_req: BaseReq } ; validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/DistributionService.ts:550

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ Withdraw request body?: undefined | { base_req: BaseReq } ; validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / GovernanceService

Class: GovernanceService

Hierarchy

  • GovernanceService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/GovernanceService.ts:138

Defined in src/services/sdk/dfinance/GovernanceService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/GovernanceService.ts:137

Defined in src/services/sdk/dfinance/GovernanceService.ts:138

Methods

getGovParametersDeposit

StaticgetGovParametersDeposit<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:160

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

Type parameters:
NameDefault
Return{ max_deposit_period: string ; min_deposit: Coin[] }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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


getGovParametersTallying

StaticgetGovParametersTallying<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:193

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

Type parameters:
NameDefault
Return{ governance_penalty: string ; threshold: string ; veto: string }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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


getGovParametersVoting

StaticgetGovParametersVoting<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:224

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

Type parameters:
NameDefault
Return{ voting_period: string }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

{Promise<{ voting_period: string }>}


getGovProposals

StaticgetGovProposals<Return>(parameters: { depositor?: undefined | string ; status?: undefined | string ; voter?: undefined | string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:254

description Query proposals

description Query proposals information with parameters

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

method getGovProposals

see /gov/proposals

Type parameters:
NameDefault
ReturnTextProposal[]
Parameters:
NameTypeDescription
parameters{ depositor?: undefined | string ; status?: undefined | string ; voter?: undefined | string }
options?IRequestConfiguration

Returns: Promise<Return>


getGovProposalsProposalId

StaticgetGovProposalsProposalId<Return>(parameters: { proposalId: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:389

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}

Type parameters:
NameDefault
ReturnTextProposal
Parameters:
NameTypeDescription
parameters{ proposalId: string }
options?IRequestConfiguration

Returns: Promise<Return>


getGovProposalsProposalIdDeposits

StaticgetGovProposalsProposalIdDeposits<Return>(parameters: { proposalId: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:422

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

Type parameters:
NameDefault
ReturnDeposit[]
Parameters:
NameTypeDescription
parameters{ proposalId: string }
options?IRequestConfiguration

Returns: Promise<Return>


getGovProposalsProposalIdDepositsDepositor

StaticgetGovProposalsProposalIdDepositsDepositor<Return>(parameters: { depositor: string ; proposalId: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:499

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}

Type parameters:
NameDefault
ReturnDeposit
Parameters:
NameTypeDescription
parameters{ depositor: string ; proposalId: string }
options?IRequestConfiguration

Returns: Promise<Return>


getGovProposalsProposalIdProposer

StaticgetGovProposalsProposalIdProposer<Return>(parameters: { proposalId: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:535

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

Type parameters:
NameDefault
ReturnProposer
Parameters:
NameTypeDescription
parameters{ proposalId: string }
options?IRequestConfiguration

Returns: Promise<Return>


getGovProposalsProposalIdTally

StaticgetGovProposalsProposalIdTally<Return>(parameters: { proposalId: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:568

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

Type parameters:
NameDefault
ReturnTallyResult
Parameters:
NameTypeDescription
parameters{ proposalId: string }
options?IRequestConfiguration

Returns: Promise<Return>


getGovProposalsProposalIdVotes

StaticgetGovProposalsProposalIdVotes<Return>(parameters: { proposalId: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:601

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

Type parameters:
NameDefault
ReturnVote[]
Parameters:
NameTypeDescription
parameters{ proposalId: string }
options?IRequestConfiguration

Returns: Promise<Return>


getGovProposalsProposalIdVotesVoter

StaticgetGovProposalsProposalIdVotesVoter<Return>(parameters: { proposalId: string ; voter: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:682

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}

Type parameters:
NameDefault
ReturnVote
Parameters:
NameTypeDescription
parameters{ proposalId: string ; voter: string }
options?IRequestConfiguration

Returns: Promise<Return>


postGovProposals

StaticpostGovProposals<Return>(parameters: { post_proposal_body: { base_req: BaseReq ; description: string ; initial_deposit: Coin[] ; proposal_type: string ; proposer: Address ; title: string } }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:298

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

Type parameters:
NameDefault
ReturnStdTx
Parameters:
NameTypeDescription
parameters{ post_proposal_body: { base_req: BaseReq ; description: string ; initial_deposit: Coin[] ; proposal_type: string ; proposer: Address ; title: string } }
options?IRequestConfiguration

Returns: Promise<Return>


postGovProposalsParamChange

StaticpostGovProposalsParamChange<Return>(parameters: { post_proposal_body: { base_req: BaseReq ; changes: ParamChange[] ; deposit: Coin[] ; description: string ; proposer: Address ; title: string } }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:347

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

Type parameters:
NameDefault
ReturnStdTx
Parameters:
NameTypeDescription
parameters{ post_proposal_body: { base_req: BaseReq ; changes: ParamChange[] ; deposit: Coin[] ; description: string ; proposer: Address ; title: string } }
options?IRequestConfiguration

Returns: Promise<Return>


postGovProposalsProposalIdDeposits

StaticpostGovProposalsProposalIdDeposits<Return>(parameters: { post_deposit_body: { amount: Coin[] ; base_req: BaseReq ; depositor: Address } ; proposalId: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:461

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ post_deposit_body: { amount: Coin[] ; base_req: BaseReq ; depositor: Address } ; proposalId: string }
options?IRequestConfiguration

Returns: Promise<Return>


postGovProposalsProposalIdVotes

StaticpostGovProposalsProposalIdVotes<Return>(parameters: { post_vote_body: { base_req: BaseReq ; option: string ; voter: Address } ; proposalId: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/GovernanceService.ts:640

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ post_vote_body: { base_req: BaseReq ; option: string ; voter: Address } ; proposalId: string }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / MarketsService

Class: MarketsService

Hierarchy

  • MarketsService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/MarketsService.ts:138

Defined in src/services/sdk/dfinance/MarketsService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/MarketsService.ts:137

Defined in src/services/sdk/dfinance/MarketsService.ts:138

Methods

getMarkets

StaticgetMarkets<Return>(parameters: { baseAssetDenom?: undefined | string ; limit?: undefined | number ; page?: undefined | number ; quoteAssetDenom?: undefined | string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MarketsService.ts:161

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

Type parameters:
NameDefault
ReturnRestMarketsRespGetMarkets
Parameters:
NameTypeDescription
parameters{ baseAssetDenom?: undefined | string ; limit?: undefined | number ; page?: undefined | number ; quoteAssetDenom?: undefined | string }
options?IRequestConfiguration

Returns: Promise<Return>


getMarketsMarketId

StaticgetMarketsMarketId<Return>(parameters: { marketID: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MarketsService.ts:204

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}

Type parameters:
NameDefault
ReturnRestMarketsRespGetMarket
Parameters:
NameTypeDescription
parameters{ marketID: string }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / MintService

Class: MintService

Hierarchy

  • MintService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/MintService.ts:138

Defined in src/services/sdk/dfinance/MintService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/MintService.ts:137

Defined in src/services/sdk/dfinance/MintService.ts:138

Methods

getMintingAnnualProvisions

StaticgetMintingAnnualProvisions<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MintService.ts:154

description Current minting annual provisions value

200 - OK
500 - Internal Server Error

method getMintingAnnualProvisions

see /minting/annual-provisions

Type parameters:
NameDefault
Returnstring
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>


getMintingInflation

StaticgetMintingInflation<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MintService.ts:178

description Current minting inflation value

200 - OK
500 - Internal Server Error

method getMintingInflation

see /minting/inflation

Type parameters:
NameDefault
Returnstring
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>


getMintingParameters

StaticgetMintingParameters<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MintService.ts:209

description Minting module parameters

200 - OK
500 - Internal Server Error

method getMintingParameters

see /minting/parameters

Type parameters:
NameDefault
Return{ blocks_per_year: string ; goal_bonded: string ; inflation_max: string ; inflation_min: string ; inflation_rate_change: string ; mint_denom: string }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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

JSDK

Globals / MultisigService

Class: MultisigService

Hierarchy

  • MultisigService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/MultisigService.ts:138

Defined in src/services/sdk/dfinance/MultisigService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/MultisigService.ts:137

Defined in src/services/sdk/dfinance/MultisigService.ts:138

Methods

getMultisigCallCallId

StaticgetMultisigCallCallId<Return>(parameters: { callID: number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MultisigService.ts:158

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}

Type parameters:
NameDefault
ReturnRestMsRespGetCall
Parameters:
NameTypeDescription
parameters{ callID: number }
options?IRequestConfiguration

Returns: Promise<Return>


getMultisigCalls

StaticgetMultisigCalls<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MultisigService.ts:188

description Get active calls

description Get active call objects

200 - OK
500 - Returned on server error

method getMultisigCalls

see /multisig/calls

Type parameters:
NameDefault
ReturnRestMsRespGetCalls
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>


getMultisigUniqueUniqueId

StaticgetMultisigUniqueUniqueId<Return>(parameters: { uniqueID: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/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}

Type parameters:
NameDefault
ReturnRestMsRespGetCall
Parameters:
NameTypeDescription
parameters{ uniqueID: string }
options?IRequestConfiguration

Returns: Promise<Return>


putMultisigConfirm

StaticputMultisigConfirm<Return>(parameters: { request: RestConfirmReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MultisigService.ts:216

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

Type parameters:
NameDefault
ReturnRestCcRespStdTx
Parameters:
NameTypeDescription
parameters{ request: RestConfirmReq }
options?IRequestConfiguration

Returns: Promise<Return>


putMultisigRevoke

StaticputMultisigRevoke<Return>(parameters: { request: RestRevokeReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/MultisigService.ts:251

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

Type parameters:
NameDefault
ReturnRestCcRespStdTx
Parameters:
NameTypeDescription
parameters{ request: RestRevokeReq }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / OracleService

Class: OracleService

Hierarchy

  • OracleService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/OracleService.ts:138

Defined in src/services/sdk/dfinance/OracleService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/OracleService.ts:137

Defined in src/services/sdk/dfinance/OracleService.ts:138

Methods

getOracleAssets

StaticgetOracleAssets<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/OracleService.ts:157

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

Type parameters:
NameDefault
ReturnRestOracleRespGetAssets
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>


getOracleCurrentpriceAssetCode

StaticgetOracleCurrentpriceAssetCode<Return>(parameters: { assetCode: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/OracleService.ts:186

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}

Type parameters:
NameDefault
ReturnRestOracleRespGetPrice
Parameters:
NameTypeDescription
parameters{ assetCode: string }
options?IRequestConfiguration

Returns: Promise<Return>


getOracleRawpricesAssetCodeBlockHeight

StaticgetOracleRawpricesAssetCodeBlockHeight<Return>(parameters: { assetCode: string ; blockHeight: number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/OracleService.ts:256

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}

Type parameters:
NameDefault
ReturnRestOracleRespGetRawPrices
Parameters:
NameTypeDescription
parameters{ assetCode: string ; blockHeight: number }
options?IRequestConfiguration

Returns: Promise<Return>


putOracleRawprices

StaticputOracleRawprices<Return>(parameters: { postRequest: RestPostPriceReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/OracleService.ts:219

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

Type parameters:
NameDefault
ReturnRestOracleRespGetAssets
Parameters:
NameTypeDescription
parameters{ postRequest: RestPostPriceReq }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / OrdersService

Class: OrdersService

Hierarchy

  • OrdersService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/OrdersService.ts:138

Defined in src/services/sdk/dfinance/OrdersService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/OrdersService.ts:137

Defined in src/services/sdk/dfinance/OrdersService.ts:138

Methods

getOrders

StaticgetOrders<Return>(parameters: { direction?: undefined | string ; limit?: undefined | number ; marketID?: undefined | string ; owner?: undefined | string ; page?: undefined | number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/OrdersService.ts:162

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

Type parameters:
NameDefault
ReturnRestOrdersRespGetOrders
Parameters:
NameTypeDescription
parameters{ direction?: undefined | string ; limit?: undefined | number ; marketID?: undefined | string ; owner?: undefined | string ; page?: undefined | number }
options?IRequestConfiguration

Returns: Promise<Return>


getOrdersOrderId

StaticgetOrdersOrderId<Return>(parameters: { orderID: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/OrdersService.ts:277

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}

Type parameters:
NameDefault
ReturnRestOrdersRespGetOrder
Parameters:
NameTypeDescription
parameters{ orderID: string }
options?IRequestConfiguration

Returns: Promise<Return>


putOrdersPost

StaticputOrdersPost<Return>(parameters: { postRequest: RestPostOrderReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/OrdersService.ts:207

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

Type parameters:
NameDefault
ReturnRestOrdersRespPostOrder
Parameters:
NameTypeDescription
parameters{ postRequest: RestPostOrderReq }
options?IRequestConfiguration

Returns: Promise<Return>


putOrdersRevoke

StaticputOrdersRevoke<Return>(parameters: { postRequest: RestRevokeOrderReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/OrdersService.ts:242

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

Type parameters:
NameDefault
ReturnRestOrdersRespRevokeOrder
Parameters:
NameTypeDescription
parameters{ postRequest: RestRevokeOrderReq }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / PoAService

Class: PoAService

Hierarchy

  • PoAService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/PoAService.ts:138

Defined in src/services/sdk/dfinance/PoAService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/PoAService.ts:137

Defined in src/services/sdk/dfinance/PoAService.ts:138

Methods

getPoaValidators

StaticgetPoaValidators<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/PoAService.ts:155

description Get validators

description Get validator objects and required confirmations count

200 - OK
500 - Returned on server error

method getPoaValidators

see /poa/validators

Type parameters:
NameDefault
ReturnRestPoaRespGetValidators
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / SDK

Class: SDK

Hierarchy

  • SDK

Index

Constructors
Properties
Methods

Constructors

constructor

+ new SDK(configurations: IRequestConfiguration): SDK

Defined in src/services/sdk/cosmos/index.ts:59

Parameters:
NameTypeDefault value
configurationsIRequestConfiguration{}

Returns: SDK

Properties

auth

auth: typeof AuthService

Defined in src/services/sdk/cosmos/index.ts:43

Defined in src/services/sdk/dfinance/index.ts:43


bank

bank: typeof BankService

Defined in src/services/sdk/cosmos/index.ts:44

Defined in src/services/sdk/dfinance/index.ts:44


configurations

Readonly configurations: IRequestConfiguration

Defined in src/services/sdk/cosmos/index.ts:61

Defined in src/services/sdk/dfinance/index.ts:61


currencies

currencies: typeof CurrenciesService

Defined in src/services/sdk/cosmos/index.ts:45

Defined in src/services/sdk/dfinance/index.ts:45


distribution

distribution: typeof DistributionService

Defined in src/services/sdk/cosmos/index.ts:46

Defined in src/services/sdk/dfinance/index.ts:46


governance

governance: typeof GovernanceService

Defined in src/services/sdk/cosmos/index.ts:47

Defined in src/services/sdk/dfinance/index.ts:47


markets

markets: typeof MarketsService

Defined in src/services/sdk/cosmos/index.ts:48

Defined in src/services/sdk/dfinance/index.ts:48


mint

mint: typeof MintService

Defined in src/services/sdk/cosmos/index.ts:49

Defined in src/services/sdk/dfinance/index.ts:49


multisig

multisig: typeof MultisigService

Defined in src/services/sdk/cosmos/index.ts:50

Defined in src/services/sdk/dfinance/index.ts:50


oracle

oracle: typeof OracleService

Defined in src/services/sdk/cosmos/index.ts:51

Defined in src/services/sdk/dfinance/index.ts:51


orders

orders: typeof OrdersService

Defined in src/services/sdk/cosmos/index.ts:52

Defined in src/services/sdk/dfinance/index.ts:52


poA

poA: typeof PoAService

Defined in src/services/sdk/cosmos/index.ts:53

Defined in src/services/sdk/dfinance/index.ts:53


slashing

slashing: typeof SlashingService

Defined in src/services/sdk/cosmos/index.ts:54

Defined in src/services/sdk/dfinance/index.ts:54


staking

staking: typeof StakingService

Defined in src/services/sdk/cosmos/index.ts:55

Defined in src/services/sdk/dfinance/index.ts:55


supply

supply: typeof SupplyService

Defined in src/services/sdk/cosmos/index.ts:56

Defined in src/services/sdk/dfinance/index.ts:56


tendermintRpc

tendermintRpc: typeof TendermintRpcService

Defined in src/services/sdk/cosmos/index.ts:57

Defined in src/services/sdk/dfinance/index.ts:57


transactions

transactions: typeof TransactionsService

Defined in src/services/sdk/cosmos/index.ts:58

Defined in src/services/sdk/dfinance/index.ts:58


vm

vm: typeof VmService

Defined in src/services/sdk/cosmos/index.ts:59

Defined in src/services/sdk/dfinance/index.ts:59

Methods

getConfigurations

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

Defined in src/services/sdk/cosmos/index.ts:135

Parameters:
NameType
methodany
contentTypestring
urlstring
configurations?IRequestConfiguration

Returns: IRequestConfiguration


request

request(configurations: IRequestConfiguration, resolve: (p: any) => void, reject: (p: any) => void): Promise<any>

Defined in src/services/sdk/cosmos/index.ts:131

Parameters:
NameType
configurationsIRequestConfiguration
resolve(p: any) => void
reject(p: any) => void

Returns: Promise<any>

JSDK

Globals / SlashingService

Class: SlashingService

Hierarchy

  • SlashingService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/SlashingService.ts:138

Defined in src/services/sdk/dfinance/SlashingService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/SlashingService.ts:137

Defined in src/services/sdk/dfinance/SlashingService.ts:138

Methods

getSlashingParameters

StaticgetSlashingParameters<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/SlashingService.ts:162

description Get the current slashing parameters

200 - OK
500 - Internal Server Error

method getSlashingParameters

see /slashing/parameters

Type parameters:
NameDefault
Return{ double_sign_unbond_duration: string ; downtime_unbond_duration: string ; max_evidence_age: string ; min_signed_per_window: string ; signed_blocks_window: string ; slash_fraction_double_sign: string ; slash_fraction_downtime: string }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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


getSlashingSigningInfos

StaticgetSlashingSigningInfos<Return>(parameters: { limit: number ; page: number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/SlashingService.ts:201

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

Type parameters:
NameDefault
ReturnSigningInfo[]
Parameters:
NameTypeDescription
parameters{ limit: number ; page: number }
options?IRequestConfiguration

Returns: Promise<Return>


postSlashingValidatorsValidatorAddrUnjail

StaticpostSlashingValidatorsValidatorAddrUnjail<Return>(parameters: { UnjailBody: { base_req: StdTx } ; validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/SlashingService.ts:240

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ UnjailBody: { base_req: StdTx } ; validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / StakingService

Class: StakingService

Hierarchy

  • StakingService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/StakingService.ts:138

Defined in src/services/sdk/dfinance/StakingService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/StakingService.ts:137

Defined in src/services/sdk/dfinance/StakingService.ts:138

Methods

getStakingDelegatorsDelegatorAddrDelegations

StaticgetStakingDelegatorsDelegatorAddrDelegations<Return>(parameters: { delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:157

description Get all delegations from a delegator

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

method getStakingDelegatorsDelegatorAddrDelegations

see /staking/delegators/{delegatorAddr}/delegations

Type parameters:
NameDefault
ReturnDelegation[]
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingDelegatorsDelegatorAddrDelegationsValidatorAddr

StaticgetStakingDelegatorsDelegatorAddrDelegationsValidatorAddr<Return>(parameters: { delegatorAddr: string ; validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:237

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}

Type parameters:
NameDefault
ReturnDelegation
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string ; validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingDelegatorsDelegatorAddrUnbondingDelegations

StaticgetStakingDelegatorsDelegatorAddrUnbondingDelegations<Return>(parameters: { delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:320

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

Type parameters:
NameDefault
ReturnUnbondingDelegation[]
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr

StaticgetStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr<Return>(parameters: { delegatorAddr: string ; validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:406

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}

Type parameters:
NameDefault
ReturnUnbondingDelegationPair
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string ; validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingDelegatorsDelegatorAddrValidators

StaticgetStakingDelegatorsDelegatorAddrValidators<Return>(parameters: { delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:441

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

Type parameters:
NameDefault
ReturnValidator[]
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingDelegatorsDelegatorAddrValidatorsValidatorAddr

StaticgetStakingDelegatorsDelegatorAddrValidatorsValidatorAddr<Return>(parameters: { delegatorAddr: string ; validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:474

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}

Type parameters:
NameDefault
ReturnValidator
Parameters:
NameTypeDescription
parameters{ delegatorAddr: string ; validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingParameters

StaticgetStakingParameters<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:514

description Get the current staking parameter values

200 - OK
500 - Internal Server Error

method getStakingParameters

see /staking/parameters

Type parameters:
NameDefault
Return{ bond_denom: string ; goal_bonded: string ; inflation_max: string ; inflation_min: string ; inflation_rate_change: string ; max_validators: number ; unbonding_time: string }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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


getStakingPool

StaticgetStakingPool<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:555

description Get the current state of the staking pool

200 - OK
500 - Internal Server Error

method getStakingPool

see /staking/pool

Type parameters:
NameDefault
Return{ bonded_tokens: string ; date_last_commission_reset: string ; inflation: string ; inflation_last_time: string ; loose_tokens: string ; prev_bonded_shares: string }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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


getStakingRedelegations

StaticgetStakingRedelegations<Return>(parameters: { delegator?: undefined | string ; validator_from?: undefined | string ; validator_to?: undefined | string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:592

description Get all redelegations (filter by query params)

200 - OK
500 - Internal Server Error

method getStakingRedelegations

see /staking/redelegations

Type parameters:
NameDefault
ReturnRedelegation[]
Parameters:
NameTypeDescription
parameters{ delegator?: undefined | string ; validator_from?: undefined | string ; validator_to?: undefined | string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingValidators

StaticgetStakingValidators<Return>(parameters: { limit?: undefined | number ; page?: undefined | number ; status?: undefined | string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:633

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

200 - OK
500 - Internal Server Error

method getStakingValidators

see /staking/validators

Type parameters:
NameDefault
ReturnValidator[]
Parameters:
NameTypeDescription
parameters{ limit?: undefined | number ; page?: undefined | number ; status?: undefined | string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingValidatorsValidatorAddr

StaticgetStakingValidatorsValidatorAddr<Return>(parameters: { validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:669

description Query the information from a single validator

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

method getStakingValidatorsValidatorAddr

see /staking/validators/{validatorAddr}

Type parameters:
NameDefault
ReturnValidator
Parameters:
NameTypeDescription
parameters{ validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingValidatorsValidatorAddrDelegations

StaticgetStakingValidatorsValidatorAddrDelegations<Return>(parameters: { validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:701

description Get all delegations from a validator

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

method getStakingValidatorsValidatorAddrDelegations

see /staking/validators/{validatorAddr}/delegations

Type parameters:
NameDefault
ReturnDelegation[]
Parameters:
NameTypeDescription
parameters{ validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


getStakingValidatorsValidatorAddrUnbondingDelegations

StaticgetStakingValidatorsValidatorAddrUnbondingDelegations<Return>(parameters: { validatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:733

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

Type parameters:
NameDefault
ReturnUnbondingDelegation[]
Parameters:
NameTypeDescription
parameters{ validatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


postStakingDelegatorsDelegatorAddrDelegations

StaticpostStakingDelegatorsDelegatorAddrDelegations<Return>(parameters: { delegation?: undefined | { base_req: BaseReq ; delegation: Coin ; delegator_address: Address ; validator_address: ValidatorAddress } ; delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:196

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ delegation?: undefined | { base_req: BaseReq ; delegation: Coin ; delegator_address: Address ; validator_address: ValidatorAddress } ; delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


postStakingDelegatorsDelegatorAddrRedelegations

StaticpostStakingDelegatorsDelegatorAddrRedelegations<Return>(parameters: { delegation?: undefined | { base_req: BaseReq ; delegator_address: Address ; shares: string ; validator_dst_address: ValidatorAddress ; validator_src_addressess: ValidatorAddress } ; delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:279

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

Type parameters:
NameDefault
ReturnStdTx
Parameters:
NameTypeDescription
parameters{ delegation?: undefined | { base_req: BaseReq ; delegator_address: Address ; shares: string ; validator_dst_address: ValidatorAddress ; validator_src_addressess: ValidatorAddress } ; delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>


postStakingDelegatorsDelegatorAddrUnbondingDelegations

StaticpostStakingDelegatorsDelegatorAddrUnbondingDelegations<Return>(parameters: { delegation?: undefined | { base_req: BaseReq ; delegator_address: Address ; shares: string ; validator_address: ValidatorAddress } ; delegatorAddr: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/StakingService.ts:362

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ delegation?: undefined | { base_req: BaseReq ; delegator_address: Address ; shares: string ; validator_address: ValidatorAddress } ; delegatorAddr: string }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / SupplyService

Class: SupplyService

Hierarchy

  • SupplyService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/SupplyService.ts:138

Defined in src/services/sdk/dfinance/SupplyService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/SupplyService.ts:137

Defined in src/services/sdk/dfinance/SupplyService.ts:138

Methods

getSupplyTotal

StaticgetSupplyTotal<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/SupplyService.ts:154

description Total supply of coins in the chain

200 - OK
500 - Internal Server Error

method getSupplyTotal

see /supply/total

Type parameters:
NameDefault
ReturnSupply
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>


getSupplyTotalDenomination

StaticgetSupplyTotalDenomination<Return>(parameters: { denomination: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/SupplyService.ts:181

description Total supply of a single coin denomination

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

method getSupplyTotalDenomination

see /supply/total/{denomination}

Type parameters:
NameDefault
Returnstring
Parameters:
NameTypeDescription
parameters{ denomination: string }
options?IRequestConfiguration

Returns: Promise<Return>

JSDK

Globals / TendermintRpcService

Class: TendermintRpcService

Hierarchy

  • TendermintRpcService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/TendermintRpcService.ts:138

Defined in src/services/sdk/dfinance/TendermintRpcService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/TendermintRpcService.ts:137

Defined in src/services/sdk/dfinance/TendermintRpcService.ts:138

Methods

getBlocksHeight

StaticgetBlocksHeight<Return>(parameters: { height: number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TendermintRpcService.ts:182

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}

Type parameters:
NameDefault
ReturnBlockQuery
Parameters:
NameTypeDescription
parameters{ height: number }
options?IRequestConfiguration

Returns: Promise<Return>


getBlocksLatest

StaticgetBlocksLatest<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TendermintRpcService.ts:154

description Get the latest block

200 - The latest block
500 - Server internal error

method getBlocksLatest

see /blocks/latest

Type parameters:
NameDefault
ReturnBlockQuery
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>


getNodeInfo

StaticgetNodeInfo<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TendermintRpcService.ts:239

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

Type parameters:
NameDefault
Return{ application_version: { build_tags: string ; client_name: string ; commit: string ; go: string ; name: string ; server_name: string ; version: string } ; node_info: { channels: string ; id: string ; listen_addr: string ; moniker: string ; network: string ; other: { rpc_address: string ; tx_index: string } ; protocol_version: { app: string ; block: string ; p2p: string } ; version: string } }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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


getSyncing

StaticgetSyncing<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TendermintRpcService.ts:288

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

Type parameters:
NameDefault
Return{ syncing: boolean }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

{Promise<{ syncing: boolean }>}


getValidatorsetsHeight

StaticgetValidatorsetsHeight<Return>(parameters: { height: number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TendermintRpcService.ts:348

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}

Type parameters:
NameDefault
Return{ block_height: string ; validators: TendermintValidator[] }
Parameters:
NameTypeDescription
parameters{ height: number }
options?IRequestConfiguration

Returns: Promise<Return>

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


getValidatorsetsLatest

StaticgetValidatorsetsLatest<Return>(options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TendermintRpcService.ts:315

description Get the latest validator set

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

method getValidatorsetsLatest

see /validatorsets/latest

Type parameters:
NameDefault
Return{ block_height: string ; validators: TendermintValidator[] }
Parameters:
NameTypeDescription
options?IRequestConfiguration

Returns: Promise<Return>

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

JSDK

Globals / TransactionsService

Class: TransactionsService

Hierarchy

  • TransactionsService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/TransactionsService.ts:138

Defined in src/services/sdk/dfinance/TransactionsService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/TransactionsService.ts:137

Defined in src/services/sdk/dfinance/TransactionsService.ts:138

Methods

getTxs

StaticgetTxs<Return>(parameters: { limit?: undefined | number ; message.action?: undefined | string ; message.sender?: undefined | string ; page?: undefined | number ; tx.maxheight?: undefined | number ; tx.minheight?: undefined | number }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TransactionsService.ts:163

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

Type parameters:
NameDefault
ReturnPaginatedQueryTxs
Parameters:
NameTypeDescription
parameters{ limit?: undefined | number ; message.action?: undefined | string ; message.sender?: undefined | string ; page?: undefined | number ; tx.maxheight?: undefined | number ; tx.minheight?: undefined | number }
options?IRequestConfiguration

Returns: Promise<Return>


getTxsHash

StaticgetTxsHash<Return>(parameters: { hash: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TransactionsService.ts:325

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}

Type parameters:
NameDefault
ReturnTxQuery
Parameters:
NameTypeDescription
parameters{ hash: string }
options?IRequestConfiguration

Returns: Promise<Return>


postTxs

StaticpostTxs<Return>(parameters: { txBroadcast: { mode: string ; tx: StdTx } }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TransactionsService.ts:212

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

Type parameters:
NameDefault
ReturnBroadcastTxCommitResult
Parameters:
NameTypeDescription
parameters{ txBroadcast: { mode: string ; tx: StdTx } }
options?IRequestConfiguration

Returns: Promise<Return>


postTxsDecode

StaticpostTxsDecode<Return>(parameters: { tx: { tx: string } }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TransactionsService.ts:252

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

Type parameters:
NameDefault
ReturnStdTx
Parameters:
NameTypeDescription
parameters{ tx: { tx: string } }
options?IRequestConfiguration

Returns: Promise<Return>


postTxsEncode

StaticpostTxsEncode<Return>(parameters: { tx: { tx: StdTx } }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/TransactionsService.ts:291

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

Type parameters:
NameDefault
Return{ tx: string }
Parameters:
NameTypeDescription
parameters{ tx: { tx: StdTx } }
options?IRequestConfiguration

Returns: Promise<Return>

{Promise<{ tx: string }>}

JSDK

Globals / VmService

Class: VmService

Hierarchy

  • VmService

Index

Properties
Methods

Properties

getConfigurations

Static getConfigurations: typeof getConfigurations = getConfigurations

Defined in src/services/sdk/cosmos/VmService.ts:138

Defined in src/services/sdk/dfinance/VmService.ts:139


request

Static request: typeof request = request

Defined in src/services/sdk/cosmos/VmService.ts:137

Defined in src/services/sdk/dfinance/VmService.ts:138

Methods

getVmCompile

StaticgetVmCompile<Return>(parameters: { getRequest: RestCompileReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/VmService.ts:158

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

Type parameters:
NameDefault
ReturnRestVmRespCompile
Parameters:
NameTypeDescription
parameters{ getRequest: RestCompileReq }
options?IRequestConfiguration

Returns: Promise<Return>


getVmDataAccountAddrVmPath

StaticgetVmDataAccountAddrVmPath<Return>(parameters: { accountAddr: string ; vmPath: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/VmService.ts:194

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}

Type parameters:
NameDefault
ReturnRestVmData
Parameters:
NameTypeDescription
parameters{ accountAddr: string ; vmPath: string }
options?IRequestConfiguration

Returns: Promise<Return>


getVmTxTxHash

StaticgetVmTxTxHash<Return>(parameters: { txHash: string }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/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}

Type parameters:
NameDefault
ReturnRestVmTxStatus
Parameters:
NameTypeDescription
parameters{ txHash: string }
options?IRequestConfiguration

Returns: Promise<Return>


getVmView

StaticgetVmView<Return>(parameters: { request: RestLcsViewReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/VmService.ts:334

description Get writeSet data from VM LCS string view

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

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

method getVmView

see /vm/view

Type parameters:
NameDefault
ReturnRestVmRespLcsView
Parameters:
NameTypeDescription
parameters{ request: RestLcsViewReq }
options?IRequestConfiguration

Returns: Promise<Return>


putVmExecute

StaticputVmExecute<Return>(parameters: { request: RestExecuteScriptReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/VmService.ts:230

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

Type parameters:
NameDefault
ReturnRestVmRespStdTx
Parameters:
NameTypeDescription
parameters{ request: RestExecuteScriptReq }
options?IRequestConfiguration

Returns: Promise<Return>


putVmPublish

StaticputVmPublish<Return>(parameters: { request: RestPublishModuleReq }, options?: IRequestConfiguration): Promise<Return>

Defined in src/services/sdk/cosmos/VmService.ts:265

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

Type parameters:
NameDefault
ReturnRestVmRespStdTx
Parameters:
NameTypeDescription
parameters{ request: RestPublishModuleReq }
options?IRequestConfiguration

Returns: Promise<Return>

Interfaces

JSDK

Globals / Account

Interface: Account

Hierarchy

  • Account

Index

Properties

Properties

account_number

Readonly account_number: string

Defined in src/services/sdk/extra/transactions/types/index.ts:4


address

address: string

Defined in src/services/sdk/extra/crypto/index.ts:22

Defined in src/services/sdk/extra/transactions/types/index.ts:5


coins

Readonly coins: Coin[]

Defined in src/services/sdk/extra/transactions/types/index.ts:6


ledger

Optional ledger: undefined | false | true

Defined in src/services/sdk/extra/crypto/index.ts:23


mnemonic

Optional mnemonic: undefined | string

Defined in src/services/sdk/extra/crypto/index.ts:24


mode

Optional mode: undefined | string

Defined in src/services/sdk/extra/crypto/index.ts:25


name

name: string

Defined in src/services/sdk/extra/crypto/index.ts:26


path

path: string

Defined in src/services/sdk/extra/crypto/index.ts:27


privateKey

Optional privateKey: undefined | string

Defined in src/services/sdk/extra/crypto/index.ts:28


publicKey

publicKey: string

Defined in src/services/sdk/extra/crypto/index.ts:29


public_key

Readonly public_key: PublicKey

Defined in src/services/sdk/extra/transactions/types/index.ts:7


secure

secure: boolean

Defined in src/services/sdk/extra/crypto/index.ts:30


sequence

Readonly sequence: string

Defined in src/services/sdk/extra/transactions/types/index.ts:8

JSDK

Globals / Balance

Interface: Balance

Hierarchy

  • Balance

Index

Properties

Properties

sort

sort: number

Defined in src/services/sdk/extra/combined/balances.ts:11


symbol

symbol: string

Defined in src/services/sdk/extra/combined/balances.ts:12


value

value: number | string

Defined in src/services/sdk/extra/combined/balances.ts:13

JSDK

Globals / BaseReq

Interface: BaseReq

Hierarchy

  • BaseReq

Index

Properties

Properties

account_number

account_number: string

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:132

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:133


chain_id

chain_id: string

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:133

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:134


fees

fees: Coin[]

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:134

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:135


from

from: string

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:135

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:136


gas

gas: string

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:136

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:137


gas_adjustment

gas_adjustment: string

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:137

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:138


memo

memo: string

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:138

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:139


sequence

sequence: string

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:139

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:140


simulate

simulate: boolean

Defined in src/services/sdk/cosmos/definitions/BaseReq.ts:140

Defined in src/services/sdk/dfinance/definitions/BaseReq.ts:141

JSDK

Globals / Block

Interface: Block

Hierarchy

  • Block

Index

Properties

Properties

evidence

evidence: string[]

Defined in src/services/sdk/cosmos/definitions/Block.ts:132

Defined in src/services/sdk/dfinance/definitions/Block.ts:133


header

header: BlockHeader

Defined in src/services/sdk/cosmos/definitions/Block.ts:133

Defined in src/services/sdk/dfinance/definitions/Block.ts:134


last_commit

last_commit: { block_id: BlockId ; precommits: object[] }

Defined in src/services/sdk/cosmos/definitions/Block.ts:134

Defined in src/services/sdk/dfinance/definitions/Block.ts:135

Type declaration:
NameType
block\_idBlockId
precommitsobject[]

txs

txs: string[]

Defined in src/services/sdk/cosmos/definitions/Block.ts:135

Defined in src/services/sdk/dfinance/definitions/Block.ts:136

JSDK

Globals / BlockHeader

Interface: BlockHeader

Hierarchy

  • BlockHeader

Index

Properties

Properties

app_hash

app_hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:132

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:133


chain_id

chain_id: string

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:133

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:134


consensus_hash

consensus_hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:134

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:135


data_hash

data_hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:135

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:136


evidence_hash

evidence_hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:136

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:137


height

height: number

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:137

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:138


last_block_id

last_block_id: BlockId

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:138

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:139


last_commit_hash

last_commit_hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:139

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:140


last_results_hash

last_results_hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:140

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:141


next_validators_hash

next_validators_hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:141

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:142


num_txs

num_txs: number

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:142

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:143


proposer_address

proposer_address: Address

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:143

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:144


time

time: string

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:144

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:145


total_txs

total_txs: number

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:145

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:146


validators_hash

validators_hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:146

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:147


version

version: { app: string ; block: string }

Defined in src/services/sdk/cosmos/definitions/BlockHeader.ts:147

Defined in src/services/sdk/dfinance/definitions/BlockHeader.ts:148

Type declaration:
NameType
appstring
blockstring

JSDK

Globals / BlockId

Interface: BlockId

Hierarchy

  • BlockId

Index

Properties

Properties

hash

hash: Hash

Defined in src/services/sdk/cosmos/definitions/BlockId.ts:132

Defined in src/services/sdk/dfinance/definitions/BlockId.ts:133


parts

parts: { hash: Hash ; total: number }

Defined in src/services/sdk/cosmos/definitions/BlockId.ts:133

Defined in src/services/sdk/dfinance/definitions/BlockId.ts:134

Type declaration:
NameType
hashHash
totalnumber

JSDK

Globals / BlockQuery

Interface: BlockQuery

Hierarchy

  • BlockQuery

Index

Properties

Properties

block

block: Block

Defined in src/services/sdk/cosmos/definitions/BlockQuery.ts:132

Defined in src/services/sdk/dfinance/definitions/BlockQuery.ts:133


block_meta

block_meta: { block_id: BlockId ; header: BlockHeader }

Defined in src/services/sdk/cosmos/definitions/BlockQuery.ts:133

Defined in src/services/sdk/dfinance/definitions/BlockQuery.ts:134

Type declaration:
NameType
block\_idBlockId
headerBlockHeader

JSDK

Globals / BroadcastTxCommitResult

Interface: BroadcastTxCommitResult

Hierarchy

  • BroadcastTxCommitResult

Index

Properties

Properties

check_tx

check_tx: CheckTxResult

Defined in src/services/sdk/cosmos/definitions/BroadcastTxCommitResult.ts:132

Defined in src/services/sdk/dfinance/definitions/BroadcastTxCommitResult.ts:133


deliver_tx

deliver_tx: DeliverTxResult

Defined in src/services/sdk/cosmos/definitions/BroadcastTxCommitResult.ts:133

Defined in src/services/sdk/dfinance/definitions/BroadcastTxCommitResult.ts:134


hash

hash: Hash

Defined in src/services/sdk/cosmos/definitions/BroadcastTxCommitResult.ts:134

Defined in src/services/sdk/dfinance/definitions/BroadcastTxCommitResult.ts:135


height

height: number

Defined in src/services/sdk/cosmos/definitions/BroadcastTxCommitResult.ts:135

Defined in src/services/sdk/dfinance/definitions/BroadcastTxCommitResult.ts:136

JSDK

Globals / CheckTxResult

Interface: CheckTxResult

Hierarchy

  • CheckTxResult

Index

Properties

Properties

code

code: number

Defined in src/services/sdk/cosmos/definitions/CheckTxResult.ts:132

Defined in src/services/sdk/dfinance/definitions/CheckTxResult.ts:133


data

data: string

Defined in src/services/sdk/cosmos/definitions/CheckTxResult.ts:133

Defined in src/services/sdk/dfinance/definitions/CheckTxResult.ts:134


gas_used

gas_used: number

Defined in src/services/sdk/cosmos/definitions/CheckTxResult.ts:134

Defined in src/services/sdk/dfinance/definitions/CheckTxResult.ts:135


gas_wanted

gas_wanted: number

Defined in src/services/sdk/cosmos/definitions/CheckTxResult.ts:135

Defined in src/services/sdk/dfinance/definitions/CheckTxResult.ts:136


info

info: string

Defined in src/services/sdk/cosmos/definitions/CheckTxResult.ts:136

Defined in src/services/sdk/dfinance/definitions/CheckTxResult.ts:137


log

log: string

Defined in src/services/sdk/cosmos/definitions/CheckTxResult.ts:137

Defined in src/services/sdk/dfinance/definitions/CheckTxResult.ts:138


tags

tags: KvPair[]

Defined in src/services/sdk/cosmos/definitions/CheckTxResult.ts:138

Defined in src/services/sdk/dfinance/definitions/CheckTxResult.ts:139

JSDK

Globals / Coin

Interface: Coin

Hierarchy

  • Coin

Index

Properties

Properties

amount

amount: string

Defined in src/services/sdk/cosmos/definitions/Coin.ts:132

Defined in src/services/sdk/dfinance/definitions/Coin.ts:133


denom

denom: string

Defined in src/services/sdk/cosmos/definitions/Coin.ts:133

Defined in src/services/sdk/dfinance/definitions/Coin.ts:134

JSDK

Globals / Delegation

Interface: Delegation

Hierarchy

  • Delegation

Index

Properties

Properties

balance

balance: Coin

Defined in src/services/sdk/cosmos/definitions/Delegation.ts:132

Defined in src/services/sdk/dfinance/definitions/Delegation.ts:133


delegator_address

delegator_address: string

Defined in src/services/sdk/cosmos/definitions/Delegation.ts:133

Defined in src/services/sdk/dfinance/definitions/Delegation.ts:134


shares

shares: string

Defined in src/services/sdk/cosmos/definitions/Delegation.ts:134

Defined in src/services/sdk/dfinance/definitions/Delegation.ts:135


validator_address

validator_address: string

Defined in src/services/sdk/cosmos/definitions/Delegation.ts:135

Defined in src/services/sdk/dfinance/definitions/Delegation.ts:136

JSDK

Globals / DelegationDelegatorReward

Interface: DelegationDelegatorReward

Hierarchy

  • DelegationDelegatorReward

Index

Properties

Properties

reward

reward: Coin[]

Defined in src/services/sdk/cosmos/definitions/DelegationDelegatorReward.ts:132

Defined in src/services/sdk/dfinance/definitions/DelegationDelegatorReward.ts:133


validator_address

validator_address: ValidatorAddress

Defined in src/services/sdk/cosmos/definitions/DelegationDelegatorReward.ts:133

Defined in src/services/sdk/dfinance/definitions/DelegationDelegatorReward.ts:134

JSDK

Globals / DelegationTransaction

Interface: DelegationTransaction

Hierarchy

  • DelegationTransaction

Index

Properties

Properties

amount

amount: string

Defined in src/services/sdk/extra/transactions/delegationTransaction.ts:9


chainId

chainId: string

Defined in src/services/sdk/extra/transactions/delegationTransaction.ts:7


currency

currency: string

Defined in src/services/sdk/extra/transactions/delegationTransaction.ts:8


fee

fee: string

Defined in src/services/sdk/extra/transactions/delegationTransaction.ts:10


gas

gas: string

Defined in src/services/sdk/extra/transactions/delegationTransaction.ts:11


memo

Optional memo: undefined | string

Defined in src/services/sdk/extra/transactions/delegationTransaction.ts:12


validatorAddress

validatorAddress: string

Defined in src/services/sdk/extra/transactions/delegationTransaction.ts:6

JSDK

Globals / DelegatorTotalRewards

Interface: DelegatorTotalRewards

Hierarchy

  • DelegatorTotalRewards

Index

Properties

Properties

rewards

rewards: DelegationDelegatorReward[]

Defined in src/services/sdk/cosmos/definitions/DelegatorTotalRewards.ts:132

Defined in src/services/sdk/dfinance/definitions/DelegatorTotalRewards.ts:133


total

total: Coin[]

Defined in src/services/sdk/cosmos/definitions/DelegatorTotalRewards.ts:133

Defined in src/services/sdk/dfinance/definitions/DelegatorTotalRewards.ts:134

JSDK

Globals / DeliverTxResult

Interface: DeliverTxResult

Hierarchy

  • DeliverTxResult

Index

Properties

Properties

code

code: number

Defined in src/services/sdk/cosmos/definitions/DeliverTxResult.ts:132

Defined in src/services/sdk/dfinance/definitions/DeliverTxResult.ts:133


data

data: string

Defined in src/services/sdk/cosmos/definitions/DeliverTxResult.ts:133

Defined in src/services/sdk/dfinance/definitions/DeliverTxResult.ts:134


gas_used

gas_used: number

Defined in src/services/sdk/cosmos/definitions/DeliverTxResult.ts:134

Defined in src/services/sdk/dfinance/definitions/DeliverTxResult.ts:135


gas_wanted

gas_wanted: number

Defined in src/services/sdk/cosmos/definitions/DeliverTxResult.ts:135

Defined in src/services/sdk/dfinance/definitions/DeliverTxResult.ts:136


info

info: string

Defined in src/services/sdk/cosmos/definitions/DeliverTxResult.ts:136

Defined in src/services/sdk/dfinance/definitions/DeliverTxResult.ts:137


log

log: string

Defined in src/services/sdk/cosmos/definitions/DeliverTxResult.ts:137

Defined in src/services/sdk/dfinance/definitions/DeliverTxResult.ts:138


tags

tags: KvPair[]

Defined in src/services/sdk/cosmos/definitions/DeliverTxResult.ts:138

Defined in src/services/sdk/dfinance/definitions/DeliverTxResult.ts:139

JSDK

Globals / Deposit

Interface: Deposit

Hierarchy

  • Deposit

Index

Properties

Properties

amount

amount: Coin[]

Defined in src/services/sdk/cosmos/definitions/Deposit.ts:132

Defined in src/services/sdk/dfinance/definitions/Deposit.ts:133


depositor

depositor: Address

Defined in src/services/sdk/cosmos/definitions/Deposit.ts:133

Defined in src/services/sdk/dfinance/definitions/Deposit.ts:134


proposal_id

proposal_id: string

Defined in src/services/sdk/cosmos/definitions/Deposit.ts:134

Defined in src/services/sdk/dfinance/definitions/Deposit.ts:135

JSDK

Globals / DestroyTransaction

Interface: DestroyTransaction

Hierarchy

  • DestroyTransaction

Index

Properties

Properties

amount

amount: string

Defined in src/services/sdk/extra/transactions/destroyTransaction.ts:9


chainId

chainId: string

Defined in src/services/sdk/extra/transactions/destroyTransaction.ts:7


currency

currency: string

Defined in src/services/sdk/extra/transactions/destroyTransaction.ts:8


fee

fee: string

Defined in src/services/sdk/extra/transactions/destroyTransaction.ts:10


gas

gas: string

Defined in src/services/sdk/extra/transactions/destroyTransaction.ts:11


memo

Optional memo: undefined | string

Defined in src/services/sdk/extra/transactions/destroyTransaction.ts:12


toAddress

toAddress: string

Defined in src/services/sdk/extra/transactions/destroyTransaction.ts:6

JSDK

Globals / ITimer

Interface: ITimer

Hierarchy

  • ITimer

Index

Properties

Properties

first

first: number

Defined in src/services/sdk/cosmos/utils/Timer.ts:7

Defined in src/services/sdk/dfinance/utils/Timer.ts:7


last

last: number

Defined in src/services/sdk/cosmos/utils/Timer.ts:8

Defined in src/services/sdk/dfinance/utils/Timer.ts:8


tick

tick: number

Defined in src/services/sdk/cosmos/utils/Timer.ts:9

Defined in src/services/sdk/dfinance/utils/Timer.ts:9

JSDK

Globals / KeyPair

Interface: KeyPair

Hierarchy

  • KeyPair

Index

Properties

Properties

privateKey

privateKey: Buffer

Defined in src/services/sdk/extra/crypto/index.ts:8


publicKey

publicKey: Uint8Array

Defined in src/services/sdk/extra/crypto/index.ts:9

JSDK

Globals / KvPair

Interface: KvPair

Hierarchy

  • KvPair

Index

Properties

Properties

key

key: string

Defined in src/services/sdk/cosmos/definitions/KvPair.ts:132

Defined in src/services/sdk/dfinance/definitions/KvPair.ts:133


value

value: string

Defined in src/services/sdk/cosmos/definitions/KvPair.ts:133

Defined in src/services/sdk/dfinance/definitions/KvPair.ts:134

JSDK

Globals / MoneyTransaction

Interface: MoneyTransaction

Hierarchy

  • MoneyTransaction

Index

Properties

Properties

amount

amount: string

Defined in src/services/sdk/extra/transactions/moneyTransaction.ts:9


chainId

chainId: string

Defined in src/services/sdk/extra/transactions/moneyTransaction.ts:7


currency

currency: string

Defined in src/services/sdk/extra/transactions/moneyTransaction.ts:8


fee

fee: string

Defined in src/services/sdk/extra/transactions/moneyTransaction.ts:10


gas

gas: string

Defined in src/services/sdk/extra/transactions/moneyTransaction.ts:11


memo

Optional memo: undefined | string

Defined in src/services/sdk/extra/transactions/moneyTransaction.ts:12


toAddress

toAddress: string

Defined in src/services/sdk/extra/transactions/moneyTransaction.ts:6

JSDK

Globals / PaginatedQueryTxs

Interface: PaginatedQueryTxs

Hierarchy

  • PaginatedQueryTxs

Index

Properties

Properties

count

count: number

Defined in src/services/sdk/cosmos/definitions/PaginatedQueryTxs.ts:132

Defined in src/services/sdk/dfinance/definitions/PaginatedQueryTxs.ts:133


limit

limit: number

Defined in src/services/sdk/cosmos/definitions/PaginatedQueryTxs.ts:133

Defined in src/services/sdk/dfinance/definitions/PaginatedQueryTxs.ts:134


page_number

page_number: number

Defined in src/services/sdk/cosmos/definitions/PaginatedQueryTxs.ts:134

Defined in src/services/sdk/dfinance/definitions/PaginatedQueryTxs.ts:135


page_total

page_total: number

Defined in src/services/sdk/cosmos/definitions/PaginatedQueryTxs.ts:135

Defined in src/services/sdk/dfinance/definitions/PaginatedQueryTxs.ts:136


total_count

total_count: number

Defined in src/services/sdk/cosmos/definitions/PaginatedQueryTxs.ts:136

Defined in src/services/sdk/dfinance/definitions/PaginatedQueryTxs.ts:137


txs

txs: TxQuery[]

Defined in src/services/sdk/cosmos/definitions/PaginatedQueryTxs.ts:137

Defined in src/services/sdk/dfinance/definitions/PaginatedQueryTxs.ts:138

JSDK

Globals / ParamChange

Interface: ParamChange

Hierarchy

  • ParamChange

Index

Properties

Properties

key

key: string

Defined in src/services/sdk/cosmos/definitions/ParamChange.ts:132

Defined in src/services/sdk/dfinance/definitions/ParamChange.ts:133


subkey

subkey: string

Defined in src/services/sdk/cosmos/definitions/ParamChange.ts:133

Defined in src/services/sdk/dfinance/definitions/ParamChange.ts:134


subspace

subspace: string

Defined in src/services/sdk/cosmos/definitions/ParamChange.ts:134

Defined in src/services/sdk/dfinance/definitions/ParamChange.ts:135


value

value: object

Defined in src/services/sdk/cosmos/definitions/ParamChange.ts:135

Defined in src/services/sdk/dfinance/definitions/ParamChange.ts:136

JSDK

Globals / Proposer

Interface: Proposer

Hierarchy

  • Proposer

Index

Properties

Properties

proposal_id

proposal_id: string

Defined in src/services/sdk/cosmos/definitions/Proposer.ts:132

Defined in src/services/sdk/dfinance/definitions/Proposer.ts:133


proposer

proposer: string

Defined in src/services/sdk/cosmos/definitions/Proposer.ts:133

Defined in src/services/sdk/dfinance/definitions/Proposer.ts:134

JSDK

Globals / PublicKey

Interface: PublicKey

Hierarchy

  • PublicKey

Index

Properties

Properties

type

type: string

Defined in src/services/sdk/cosmos/definitions/PublicKey.ts:132

Defined in src/services/sdk/dfinance/definitions/PublicKey.ts:133


value

value: string

Defined in src/services/sdk/cosmos/definitions/PublicKey.ts:133

Defined in src/services/sdk/dfinance/definitions/PublicKey.ts:134

JSDK

Globals / Redelegation

Interface: Redelegation

Hierarchy

  • Redelegation

Index

Properties

Properties

delegator_address

delegator_address: string

Defined in src/services/sdk/cosmos/definitions/Redelegation.ts:132

Defined in src/services/sdk/dfinance/definitions/Redelegation.ts:133


entries

entries: Redelegation[]

Defined in src/services/sdk/cosmos/definitions/Redelegation.ts:133

Defined in src/services/sdk/dfinance/definitions/Redelegation.ts:134


validator_dst_address

validator_dst_address: string

Defined in src/services/sdk/cosmos/definitions/Redelegation.ts:134

Defined in src/services/sdk/dfinance/definitions/Redelegation.ts:135


validator_src_address

validator_src_address: string

Defined in src/services/sdk/cosmos/definitions/Redelegation.ts:135

Defined in src/services/sdk/dfinance/definitions/Redelegation.ts:136

JSDK

Globals / RedelegationEntry

Interface: RedelegationEntry

Hierarchy

  • RedelegationEntry

Index

Properties

Properties

balance

balance: string

Defined in src/services/sdk/cosmos/definitions/RedelegationEntry.ts:132

Defined in src/services/sdk/dfinance/definitions/RedelegationEntry.ts:133


completion_time

completion_time: number

Defined in src/services/sdk/cosmos/definitions/RedelegationEntry.ts:133

Defined in src/services/sdk/dfinance/definitions/RedelegationEntry.ts:134


creation_height

creation_height: number

Defined in src/services/sdk/cosmos/definitions/RedelegationEntry.ts:134

Defined in src/services/sdk/dfinance/definitions/RedelegationEntry.ts:135


initial_balance

initial_balance: string

Defined in src/services/sdk/cosmos/definitions/RedelegationEntry.ts:135

Defined in src/services/sdk/dfinance/definitions/RedelegationEntry.ts:136


shares_dst

shares_dst: string

Defined in src/services/sdk/cosmos/definitions/RedelegationEntry.ts:136

Defined in src/services/sdk/dfinance/definitions/RedelegationEntry.ts:137

JSDK

Globals / RedelegationTransaction

Interface: RedelegationTransaction

Hierarchy

  • RedelegationTransaction

Index

Properties

Properties

amount

amount: string

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:10


chainId

chainId: string

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:8


currency

currency: string

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:9


fee

fee: string

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:11


fromValidatorAddress

fromValidatorAddress: string

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:6


gas

gas: string

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:12


memo

Optional memo: undefined | string

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:13


toValidatorAddress

toValidatorAddress: string

Defined in src/services/sdk/extra/transactions/redelegationTransaction.ts:7

JSDK

Globals / RestBaseReq

Interface: RestBaseReq

Hierarchy

  • RestBaseReq

Index

Properties

Properties

account_number

account_number: number

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:133


chain_id

chain_id: string

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:134


fees

fees: TypesCoins

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:134

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:135


from

from: string

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:135

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:136


gas

gas: string

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:136

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:137


gas_adjustment

gas_adjustment: string

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:137

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:138


gas_prices

gas_prices: TypesDecCoins

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:138

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:139


memo

memo: string

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:139

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:140


sequence

sequence: number

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:140

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:141


simulate

simulate: boolean

Defined in src/services/sdk/cosmos/definitions/RestBaseReq.ts:141

Defined in src/services/sdk/dfinance/definitions/RestBaseReq.ts:142

JSDK

Globals / RestCcRespGetCurrencies

Interface: RestCcRespGetCurrencies

Hierarchy

  • RestCcRespGetCurrencies

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetCurrencies.ts:132

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetCurrencies.ts:133


result

result: CcstorageCurrencies

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetCurrencies.ts:133

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetCurrencies.ts:134

JSDK

Globals / RestCcRespGetCurrency

Interface: RestCcRespGetCurrency

Hierarchy

  • RestCcRespGetCurrency

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetCurrency.ts:132

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetCurrency.ts:133


result

result: CcstorageCurrency

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetCurrency.ts:133

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetCurrency.ts:134

JSDK

Globals / RestCcRespGetIssue

Interface: RestCcRespGetIssue

Hierarchy

  • RestCcRespGetIssue

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetIssue.ts:132

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetIssue.ts:133


result

result: TypesIssue

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetIssue.ts:133

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetIssue.ts:134

JSDK

Globals / RestCcRespGetWithdraw

Interface: RestCcRespGetWithdraw

Hierarchy

  • RestCcRespGetWithdraw

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetWithdraw.ts:132

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetWithdraw.ts:133


result

result: TypesWithdraw

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetWithdraw.ts:133

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetWithdraw.ts:134

JSDK

Globals / RestCcRespGetWithdraws

Interface: RestCcRespGetWithdraws

Hierarchy

  • RestCcRespGetWithdraws

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetWithdraws.ts:132

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetWithdraws.ts:133


result

result: TypesWithdraws

Defined in src/services/sdk/cosmos/definitions/RestCcRespGetWithdraws.ts:133

Defined in src/services/sdk/dfinance/definitions/RestCcRespGetWithdraws.ts:134

JSDK

Globals / RestCcRespStdTx

Interface: RestCcRespStdTx

Hierarchy

  • RestCcRespStdTx

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestCcRespStdTx.ts:132

Defined in src/services/sdk/dfinance/definitions/RestCcRespStdTx.ts:133


result

result: AuthStdTx

Defined in src/services/sdk/cosmos/definitions/RestCcRespStdTx.ts:133

Defined in src/services/sdk/dfinance/definitions/RestCcRespStdTx.ts:134

JSDK

Globals / RestCompileReq

Interface: RestCompileReq

Hierarchy

  • RestCompileReq

Index

Properties

Properties

address

address: string

Defined in src/services/sdk/cosmos/definitions/RestCompileReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestCompileReq.ts:133


code

code: string

Defined in src/services/sdk/cosmos/definitions/RestCompileReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestCompileReq.ts:134

JSDK

Globals / RestConfirmReq

Interface: RestConfirmReq

Hierarchy

  • RestConfirmReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestConfirmReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestConfirmReq.ts:133


call_id

call_id: string

Defined in src/services/sdk/cosmos/definitions/RestConfirmReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestConfirmReq.ts:134

JSDK

Globals / RestErrorResponse

Interface: RestErrorResponse

Hierarchy

  • RestErrorResponse

Index

Properties

Properties

code

code: number

Defined in src/services/sdk/cosmos/definitions/RestErrorResponse.ts:132

Defined in src/services/sdk/dfinance/definitions/RestErrorResponse.ts:133


error

error: string

Defined in src/services/sdk/cosmos/definitions/RestErrorResponse.ts:133

Defined in src/services/sdk/dfinance/definitions/RestErrorResponse.ts:134

JSDK

Globals / RestExecuteScriptReq

Interface: RestExecuteScriptReq

Hierarchy

  • RestExecuteScriptReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestExecuteScriptReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestExecuteScriptReq.ts:133


move_args

move_args: string[]

Defined in src/services/sdk/cosmos/definitions/RestExecuteScriptReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestExecuteScriptReq.ts:134


move_code

move_code: string

Defined in src/services/sdk/cosmos/definitions/RestExecuteScriptReq.ts:134

Defined in src/services/sdk/dfinance/definitions/RestExecuteScriptReq.ts:135

JSDK

Globals / RestLcsViewReq

Interface: RestLcsViewReq

Hierarchy

  • RestLcsViewReq

Index

Properties

Properties

address

address: string

Defined in src/services/sdk/cosmos/definitions/RestLcsViewReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestLcsViewReq.ts:133


move_path

move_path: string

Defined in src/services/sdk/cosmos/definitions/RestLcsViewReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestLcsViewReq.ts:134


view_request

view_request: string

Defined in src/services/sdk/cosmos/definitions/RestLcsViewReq.ts:134

Defined in src/services/sdk/dfinance/definitions/RestLcsViewReq.ts:135

JSDK

Globals / RestLcsViewResp

Interface: RestLcsViewResp

Hierarchy

  • RestLcsViewResp

Index

Properties

Properties

value

value: string

Defined in src/services/sdk/cosmos/definitions/RestLcsViewResp.ts:132

Defined in src/services/sdk/dfinance/definitions/RestLcsViewResp.ts:133

JSDK

Globals / RestMarketsRespGetMarket

Interface: RestMarketsRespGetMarket

Hierarchy

  • RestMarketsRespGetMarket

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestMarketsRespGetMarket.ts:132

Defined in src/services/sdk/dfinance/definitions/RestMarketsRespGetMarket.ts:133


result

result: TypesMarket

Defined in src/services/sdk/cosmos/definitions/RestMarketsRespGetMarket.ts:133

Defined in src/services/sdk/dfinance/definitions/RestMarketsRespGetMarket.ts:134

JSDK

Globals / RestMarketsRespGetMarkets

Interface: RestMarketsRespGetMarkets

Hierarchy

  • RestMarketsRespGetMarkets

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestMarketsRespGetMarkets.ts:132

Defined in src/services/sdk/dfinance/definitions/RestMarketsRespGetMarkets.ts:133


result

result: TypesMarkets

Defined in src/services/sdk/cosmos/definitions/RestMarketsRespGetMarkets.ts:133

Defined in src/services/sdk/dfinance/definitions/RestMarketsRespGetMarkets.ts:134

JSDK

Globals / RestMsRespGetCall

Interface: RestMsRespGetCall

Hierarchy

  • RestMsRespGetCall

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestMsRespGetCall.ts:132

Defined in src/services/sdk/dfinance/definitions/RestMsRespGetCall.ts:133


result

result: TypesCallResp

Defined in src/services/sdk/cosmos/definitions/RestMsRespGetCall.ts:133

Defined in src/services/sdk/dfinance/definitions/RestMsRespGetCall.ts:134

JSDK

Globals / RestMsRespGetCalls

Interface: RestMsRespGetCalls

Hierarchy

  • RestMsRespGetCalls

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestMsRespGetCalls.ts:132

Defined in src/services/sdk/dfinance/definitions/RestMsRespGetCalls.ts:133


result

result: TypesCallsResp

Defined in src/services/sdk/cosmos/definitions/RestMsRespGetCalls.ts:133

Defined in src/services/sdk/dfinance/definitions/RestMsRespGetCalls.ts:134

JSDK

Globals / RestOracleRespGetAssets

Interface: RestOracleRespGetAssets

Hierarchy

  • RestOracleRespGetAssets

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestOracleRespGetAssets.ts:132

Defined in src/services/sdk/dfinance/definitions/RestOracleRespGetAssets.ts:133


result

result: TypesAssets

Defined in src/services/sdk/cosmos/definitions/RestOracleRespGetAssets.ts:133

Defined in src/services/sdk/dfinance/definitions/RestOracleRespGetAssets.ts:134

JSDK

Globals / RestOracleRespGetPrice

Interface: RestOracleRespGetPrice

Hierarchy

  • RestOracleRespGetPrice

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestOracleRespGetPrice.ts:132

Defined in src/services/sdk/dfinance/definitions/RestOracleRespGetPrice.ts:133


result

result: TypesCurrentPrice

Defined in src/services/sdk/cosmos/definitions/RestOracleRespGetPrice.ts:133

Defined in src/services/sdk/dfinance/definitions/RestOracleRespGetPrice.ts:134

JSDK

Globals / RestOracleRespGetRawPrices

Interface: RestOracleRespGetRawPrices

Hierarchy

  • RestOracleRespGetRawPrices

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestOracleRespGetRawPrices.ts:132

Defined in src/services/sdk/dfinance/definitions/RestOracleRespGetRawPrices.ts:133


result

result: TypesPostedPrice[]

Defined in src/services/sdk/cosmos/definitions/RestOracleRespGetRawPrices.ts:133

Defined in src/services/sdk/dfinance/definitions/RestOracleRespGetRawPrices.ts:134

JSDK

Globals / RestOrdersRespGetOrder

Interface: RestOrdersRespGetOrder

Hierarchy

  • RestOrdersRespGetOrder

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestOrdersRespGetOrder.ts:132

Defined in src/services/sdk/dfinance/definitions/RestOrdersRespGetOrder.ts:133


result

result: TypesOrder

Defined in src/services/sdk/cosmos/definitions/RestOrdersRespGetOrder.ts:133

Defined in src/services/sdk/dfinance/definitions/RestOrdersRespGetOrder.ts:134

JSDK

Globals / RestOrdersRespGetOrders

Interface: RestOrdersRespGetOrders

Hierarchy

  • RestOrdersRespGetOrders

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestOrdersRespGetOrders.ts:132

Defined in src/services/sdk/dfinance/definitions/RestOrdersRespGetOrders.ts:133


result

result: TypesOrders

Defined in src/services/sdk/cosmos/definitions/RestOrdersRespGetOrders.ts:133

Defined in src/services/sdk/dfinance/definitions/RestOrdersRespGetOrders.ts:134

JSDK

Globals / RestOrdersRespPostOrder

Interface: RestOrdersRespPostOrder

Hierarchy

  • RestOrdersRespPostOrder

Index

Properties

Properties

type

type: string

Defined in src/services/sdk/cosmos/definitions/RestOrdersRespPostOrder.ts:132

Defined in src/services/sdk/dfinance/definitions/RestOrdersRespPostOrder.ts:133


value

value: { fee: TypesStdFee ; memo: string ; msg: RestPostOrderMsg ; signatures: TypesStdSignature[] }

Defined in src/services/sdk/cosmos/definitions/RestOrdersRespPostOrder.ts:133

Defined in src/services/sdk/dfinance/definitions/RestOrdersRespPostOrder.ts:134

Type declaration:
NameType
feeTypesStdFee
memostring
msgRestPostOrderMsg
signaturesTypesStdSignature[]

JSDK

Globals / RestOrdersRespRevokeOrder

Interface: RestOrdersRespRevokeOrder

Hierarchy

  • RestOrdersRespRevokeOrder

Index

Properties

Properties

type

type: string

Defined in src/services/sdk/cosmos/definitions/RestOrdersRespRevokeOrder.ts:132

Defined in src/services/sdk/dfinance/definitions/RestOrdersRespRevokeOrder.ts:133


value

value: { fee: TypesStdFee ; memo: string ; msg: RestRevokeOrderMsg ; signatures: TypesStdSignature[] }

Defined in src/services/sdk/cosmos/definitions/RestOrdersRespRevokeOrder.ts:133

Defined in src/services/sdk/dfinance/definitions/RestOrdersRespRevokeOrder.ts:134

Type declaration:
NameType
feeTypesStdFee
memostring
msgRestRevokeOrderMsg
signaturesTypesStdSignature[]

JSDK

Globals / RestPoaRespGetValidators

Interface: RestPoaRespGetValidators

Hierarchy

  • RestPoaRespGetValidators

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestPoaRespGetValidators.ts:132

Defined in src/services/sdk/dfinance/definitions/RestPoaRespGetValidators.ts:133


result

result: TypesValidatorsConfirmationsResp

Defined in src/services/sdk/cosmos/definitions/RestPoaRespGetValidators.ts:133

Defined in src/services/sdk/dfinance/definitions/RestPoaRespGetValidators.ts:134

JSDK

Globals / RestPostOrderMsg

Interface: RestPostOrderMsg

Hierarchy

  • RestPostOrderMsg

Index

Properties

Properties

type

type: string

Defined in src/services/sdk/cosmos/definitions/RestPostOrderMsg.ts:132

Defined in src/services/sdk/dfinance/definitions/RestPostOrderMsg.ts:133


value

value: TypesMsgPostOrder

Defined in src/services/sdk/cosmos/definitions/RestPostOrderMsg.ts:133

Defined in src/services/sdk/dfinance/definitions/RestPostOrderMsg.ts:134

JSDK

Globals / RestPostOrderReq

Interface: RestPostOrderReq

Hierarchy

  • RestPostOrderReq

Index

Properties

Properties

asset_code

asset_code: string

Defined in src/services/sdk/cosmos/definitions/RestPostOrderReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestPostOrderReq.ts:133


base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestPostOrderReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestPostOrderReq.ts:134


direction

direction: string

Defined in src/services/sdk/cosmos/definitions/RestPostOrderReq.ts:134

Defined in src/services/sdk/dfinance/definitions/RestPostOrderReq.ts:135


price

price: string

Defined in src/services/sdk/cosmos/definitions/RestPostOrderReq.ts:135

Defined in src/services/sdk/dfinance/definitions/RestPostOrderReq.ts:136


quantity

quantity: string

Defined in src/services/sdk/cosmos/definitions/RestPostOrderReq.ts:136

Defined in src/services/sdk/dfinance/definitions/RestPostOrderReq.ts:137


ttl_in_sec

ttl_in_sec: string

Defined in src/services/sdk/cosmos/definitions/RestPostOrderReq.ts:137

Defined in src/services/sdk/dfinance/definitions/RestPostOrderReq.ts:138

JSDK

Globals / RestPostPriceReq

Interface: RestPostPriceReq

Hierarchy

  • RestPostPriceReq

Index

Properties

Properties

asset_code

asset_code: string

Defined in src/services/sdk/cosmos/definitions/RestPostPriceReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestPostPriceReq.ts:133


base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestPostPriceReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestPostPriceReq.ts:134


price

price: string

Defined in src/services/sdk/cosmos/definitions/RestPostPriceReq.ts:134

Defined in src/services/sdk/dfinance/definitions/RestPostPriceReq.ts:135


received_at

received_at: string

Defined in src/services/sdk/cosmos/definitions/RestPostPriceReq.ts:135

Defined in src/services/sdk/dfinance/definitions/RestPostPriceReq.ts:136

JSDK

Globals / RestPublishModuleReq

Interface: RestPublishModuleReq

Hierarchy

  • RestPublishModuleReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestPublishModuleReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestPublishModuleReq.ts:133


move_code

move_code: string

Defined in src/services/sdk/cosmos/definitions/RestPublishModuleReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestPublishModuleReq.ts:134

JSDK

Globals / RestRevokeOrderMsg

Interface: RestRevokeOrderMsg

Hierarchy

  • RestRevokeOrderMsg

Index

Properties

Properties

type

type: string

Defined in src/services/sdk/cosmos/definitions/RestRevokeOrderMsg.ts:132

Defined in src/services/sdk/dfinance/definitions/RestRevokeOrderMsg.ts:133


value

value: TypesMsgRevokeOrder

Defined in src/services/sdk/cosmos/definitions/RestRevokeOrderMsg.ts:133

Defined in src/services/sdk/dfinance/definitions/RestRevokeOrderMsg.ts:134

JSDK

Globals / RestRevokeOrderReq

Interface: RestRevokeOrderReq

Hierarchy

  • RestRevokeOrderReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestRevokeOrderReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestRevokeOrderReq.ts:133


order_id

order_id: string

Defined in src/services/sdk/cosmos/definitions/RestRevokeOrderReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestRevokeOrderReq.ts:134

JSDK

Globals / RestRevokeReq

Interface: RestRevokeReq

Hierarchy

  • RestRevokeReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestRevokeReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestRevokeReq.ts:133


call_id

call_id: string

Defined in src/services/sdk/cosmos/definitions/RestRevokeReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestRevokeReq.ts:134

JSDK

Globals / RestSubmitIssueReq

Interface: RestSubmitIssueReq

Hierarchy

  • RestSubmitIssueReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestSubmitIssueReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestSubmitIssueReq.ts:133


coin

coin: TypesCoin

Defined in src/services/sdk/cosmos/definitions/RestSubmitIssueReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestSubmitIssueReq.ts:134


id

id: string

Defined in src/services/sdk/cosmos/definitions/RestSubmitIssueReq.ts:134

Defined in src/services/sdk/dfinance/definitions/RestSubmitIssueReq.ts:135


payee

payee: string

Defined in src/services/sdk/cosmos/definitions/RestSubmitIssueReq.ts:135

Defined in src/services/sdk/dfinance/definitions/RestSubmitIssueReq.ts:136

JSDK

Globals / RestUnstakeReq

Interface: RestUnstakeReq

Hierarchy

  • RestUnstakeReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in src/services/sdk/dfinance/definitions/RestUnstakeReq.ts:133


id

id: string

Defined in src/services/sdk/dfinance/definitions/RestUnstakeReq.ts:134


staker

staker: string

Defined in src/services/sdk/dfinance/definitions/RestUnstakeReq.ts:135

JSDK

Globals / RestVmData

Interface: RestVmData

Hierarchy

  • RestVmData

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestVmData.ts:132

Defined in src/services/sdk/dfinance/definitions/RestVmData.ts:133


result

result: TypesValueResp

Defined in src/services/sdk/cosmos/definitions/RestVmData.ts:133

Defined in src/services/sdk/dfinance/definitions/RestVmData.ts:134

JSDK

Globals / RestVmRespCompile

Interface: RestVmRespCompile

Hierarchy

  • RestVmRespCompile

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestVmRespCompile.ts:132

Defined in src/services/sdk/dfinance/definitions/RestVmRespCompile.ts:133


result

result: VmClientMoveFile

Defined in src/services/sdk/cosmos/definitions/RestVmRespCompile.ts:133

Defined in src/services/sdk/dfinance/definitions/RestVmRespCompile.ts:134

JSDK

Globals / RestVmRespLcsView

Interface: RestVmRespLcsView

Hierarchy

  • RestVmRespLcsView

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestVmRespLcsView.ts:132

Defined in src/services/sdk/dfinance/definitions/RestVmRespLcsView.ts:133


result

result: RestLcsViewResp

Defined in src/services/sdk/cosmos/definitions/RestVmRespLcsView.ts:133

Defined in src/services/sdk/dfinance/definitions/RestVmRespLcsView.ts:134

JSDK

Globals / RestVmRespStdTx

Interface: RestVmRespStdTx

Hierarchy

  • RestVmRespStdTx

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestVmRespStdTx.ts:132

Defined in src/services/sdk/dfinance/definitions/RestVmRespStdTx.ts:133


result

result: AuthStdTx

Defined in src/services/sdk/cosmos/definitions/RestVmRespStdTx.ts:133

Defined in src/services/sdk/dfinance/definitions/RestVmRespStdTx.ts:134

JSDK

Globals / RestVmTxStatus

Interface: RestVmTxStatus

Hierarchy

  • RestVmTxStatus

Index

Properties

Properties

height

height: number

Defined in src/services/sdk/cosmos/definitions/RestVmTxStatus.ts:132

Defined in src/services/sdk/dfinance/definitions/RestVmTxStatus.ts:133


result

result: TypesTxVmStatus

Defined in src/services/sdk/cosmos/definitions/RestVmTxStatus.ts:133

Defined in src/services/sdk/dfinance/definitions/RestVmTxStatus.ts:134

JSDK

Globals / RestWithdrawReq

Interface: RestWithdrawReq

Hierarchy

  • RestWithdrawReq

Index

Properties

Properties

base_req

base_req: RestBaseReq

Defined in src/services/sdk/cosmos/definitions/RestWithdrawReq.ts:132

Defined in src/services/sdk/dfinance/definitions/RestWithdrawReq.ts:133


coin

coin: TypesCoin

Defined in src/services/sdk/cosmos/definitions/RestWithdrawReq.ts:133

Defined in src/services/sdk/dfinance/definitions/RestWithdrawReq.ts:134


pegzone_chain_id

pegzone_chain_id: string

Defined in src/services/sdk/cosmos/definitions/RestWithdrawReq.ts:134

Defined in src/services/sdk/dfinance/definitions/RestWithdrawReq.ts:135


pegzone_payee

pegzone_payee: string

Defined in src/services/sdk/cosmos/definitions/RestWithdrawReq.ts:135

Defined in src/services/sdk/dfinance/definitions/RestWithdrawReq.ts:136

JSDK

Globals / Signature

Interface: Signature

Hierarchy

  • Signature

Index

Properties

Properties

account_number

account_number: string

Defined in src/services/sdk/extra/transactions/types/index.ts:16


pub_key

pub_key: { type: string ; value: string }

Defined in src/services/sdk/extra/transactions/types/index.ts:17

Type declaration:
NameType
typestring
valuestring

sequence

sequence: string

Defined in src/services/sdk/extra/transactions/types/index.ts:21


signature

signature: string

Defined in src/services/sdk/extra/transactions/types/index.ts:22

JSDK

Globals / SigningInfo

Interface: SigningInfo

Hierarchy

  • SigningInfo

Index

Properties

Properties

index_offset

index_offset: string

Defined in src/services/sdk/cosmos/definitions/SigningInfo.ts:132

Defined in src/services/sdk/dfinance/definitions/SigningInfo.ts:133


jailed_until

jailed_until: string

Defined in src/services/sdk/cosmos/definitions/SigningInfo.ts:133

Defined in src/services/sdk/dfinance/definitions/SigningInfo.ts:134


missed_blocks_counter

missed_blocks_counter: string

Defined in src/services/sdk/cosmos/definitions/SigningInfo.ts:134

Defined in src/services/sdk/dfinance/definitions/SigningInfo.ts:135


start_height

start_height: string

Defined in src/services/sdk/cosmos/definitions/SigningInfo.ts:135

Defined in src/services/sdk/dfinance/definitions/SigningInfo.ts:136

JSDK

Globals / StdTx

Interface: StdTx

Hierarchy

  • StdTx

Index

Properties

Properties

fee

fee: { amount: Coin[] ; gas: string }

Defined in src/services/sdk/cosmos/definitions/StdTx.ts:132

Defined in src/services/sdk/dfinance/definitions/StdTx.ts:133

Type declaration:
NameType
amountCoin[]
gasstring

memo

memo: string

Defined in src/services/sdk/cosmos/definitions/StdTx.ts:133

Defined in src/services/sdk/dfinance/definitions/StdTx.ts:134


msg

msg: Msg[]

Defined in src/services/sdk/cosmos/definitions/StdTx.ts:134

Defined in src/services/sdk/dfinance/definitions/StdTx.ts:135


signature

signature: { account_number: string ; pub_key: { type: string ; value: string } ; sequence: string ; signature: string }

Defined in src/services/sdk/cosmos/definitions/StdTx.ts:135

Defined in src/services/sdk/dfinance/definitions/StdTx.ts:136

Type declaration:
NameType
account\_numberstring
pub\_key{ type: string ; value: string }
sequencestring
signaturestring

JSDK

Globals / Supply

Interface: Supply

Hierarchy

  • Supply

Index

Properties

Properties

total

total: Coin[]

Defined in src/services/sdk/cosmos/definitions/Supply.ts:132

Defined in src/services/sdk/dfinance/definitions/Supply.ts:133

JSDK

Globals / TallyResult

Interface: TallyResult

Hierarchy

  • TallyResult

Index

Properties

Properties

abstain

abstain: string

Defined in src/services/sdk/cosmos/definitions/TallyResult.ts:132

Defined in src/services/sdk/dfinance/definitions/TallyResult.ts:133


false

false: string

Defined in src/services/sdk/cosmos/definitions/TallyResult.ts:133

Defined in src/services/sdk/dfinance/definitions/TallyResult.ts:134


no_with_veto

no_with_veto: string

Defined in src/services/sdk/cosmos/definitions/TallyResult.ts:134

Defined in src/services/sdk/dfinance/definitions/TallyResult.ts:135


true

true: string

Defined in src/services/sdk/cosmos/definitions/TallyResult.ts:135

Defined in src/services/sdk/dfinance/definitions/TallyResult.ts:136

JSDK

Globals / TendermintValidator

Interface: TendermintValidator

Hierarchy

  • TendermintValidator

Index

Properties

Properties

address

address: ValidatorAddress

Defined in src/services/sdk/cosmos/definitions/TendermintValidator.ts:132

Defined in src/services/sdk/dfinance/definitions/TendermintValidator.ts:133


proposer_priority

proposer_priority: string

Defined in src/services/sdk/cosmos/definitions/TendermintValidator.ts:133

Defined in src/services/sdk/dfinance/definitions/TendermintValidator.ts:134


pub_key

pub_key: string

Defined in src/services/sdk/cosmos/definitions/TendermintValidator.ts:134

Defined in src/services/sdk/dfinance/definitions/TendermintValidator.ts:135


voting_power

voting_power: string

Defined in src/services/sdk/cosmos/definitions/TendermintValidator.ts:135

Defined in src/services/sdk/dfinance/definitions/TendermintValidator.ts:136

JSDK

Globals / TextProposal

Interface: TextProposal

Hierarchy

  • TextProposal

Index

Properties

Properties

description

description: string

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:132

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:133


final_tally_result

final_tally_result: TallyResult

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:133

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:134


proposal_id

proposal_id: number

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:134

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:135


proposal_status

proposal_status: string

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:135

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:136


proposal_type

proposal_type: string

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:136

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:137


submit_time

submit_time: string

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:137

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:138


title

title: string

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:138

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:139


total_deposit

total_deposit: Coin[]

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:139

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:140


voting_start_time

voting_start_time: string

Defined in src/services/sdk/cosmos/definitions/TextProposal.ts:140

Defined in src/services/sdk/dfinance/definitions/TextProposal.ts:141

JSDK

Globals / TxQuery

Interface: TxQuery

Hierarchy

  • TxQuery

Index

Properties

Properties

hash

hash: string

Defined in src/services/sdk/cosmos/definitions/TxQuery.ts:132

Defined in src/services/sdk/dfinance/definitions/TxQuery.ts:133


height

height: number

Defined in src/services/sdk/cosmos/definitions/TxQuery.ts:133

Defined in src/services/sdk/dfinance/definitions/TxQuery.ts:134


result

result: { gas_used: string ; gas_wanted: string ; log: string ; tags: KvPair[] }

Defined in src/services/sdk/cosmos/definitions/TxQuery.ts:134

Defined in src/services/sdk/dfinance/definitions/TxQuery.ts:135

Type declaration:
NameType
gas\_usedstring
gas\_wantedstring
logstring
tagsKvPair[]

tx

tx: StdTx

Defined in src/services/sdk/cosmos/definitions/TxQuery.ts:135

Defined in src/services/sdk/dfinance/definitions/TxQuery.ts:136

JSDK

Globals / TypesAsset

Interface: TypesAsset

Hierarchy

  • TypesAsset

Index

Properties

Properties

active

active: boolean

Defined in src/services/sdk/cosmos/definitions/TypesAsset.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesAsset.ts:133


asset_code

asset_code: string

Defined in src/services/sdk/cosmos/definitions/TypesAsset.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesAsset.ts:134


oracles

oracles: TypesOracles

Defined in src/services/sdk/cosmos/definitions/TypesAsset.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesAsset.ts:135

JSDK

Globals / TypesCall

Interface: TypesCall

Hierarchy

  • TypesCall

Index

Properties

Properties

approved

approved: boolean

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:133


creator

creator: string

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:134


error

error: string

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:135


executed

executed: boolean

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:136


failed

failed: boolean

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:136

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:137


height

height: number

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:137

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:138


id

id: string

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:138

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:139


msg_data

msg_data: MsmoduleMsMsg

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:139

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:140


msg_route

msg_route: string

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:140

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:141


msg_type

msg_type: string

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:141

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:142


rejected

rejected: boolean

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:142

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:143


unique_id

unique_id: string

Defined in src/services/sdk/cosmos/definitions/TypesCall.ts:143

Defined in src/services/sdk/dfinance/definitions/TypesCall.ts:144

JSDK

Globals / TypesCallResp

Interface: TypesCallResp

Hierarchy

  • TypesCallResp

Index

Properties

Properties

call

call: TypesCall

Defined in src/services/sdk/cosmos/definitions/TypesCallResp.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesCallResp.ts:133


votes

votes: string[]

Defined in src/services/sdk/cosmos/definitions/TypesCallResp.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesCallResp.ts:134

JSDK

Globals / TypesCoin

Interface: TypesCoin

Hierarchy

  • TypesCoin

Index

Properties

Properties

amount

amount: TypesInt

Defined in src/services/sdk/cosmos/definitions/TypesCoin.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesCoin.ts:133


denom

denom: string

Defined in src/services/sdk/cosmos/definitions/TypesCoin.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesCoin.ts:134

JSDK

Globals / TypesCommission

Interface: TypesCommission

Hierarchy

  • TypesCommission

Index

Properties

Properties

max_change_rate

max_change_rate: TypesDec

Defined in src/services/sdk/cosmos/definitions/TypesCommission.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesCommission.ts:133


max_rate

max_rate: TypesDec

Defined in src/services/sdk/cosmos/definitions/TypesCommission.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesCommission.ts:134


rate

rate: TypesDec

Defined in src/services/sdk/cosmos/definitions/TypesCommission.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesCommission.ts:135


update_time

update_time: string

Defined in src/services/sdk/cosmos/definitions/TypesCommission.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesCommission.ts:136

JSDK

Globals / TypesCurrency

Interface: TypesCurrency

Hierarchy

  • TypesCurrency

Index

Properties

Properties

balance_path_hex

balance_path_hex: string

Defined in src/services/sdk/cosmos/definitions/TypesCurrency.ts:132


decimals

decimals: number

Defined in src/services/sdk/cosmos/definitions/TypesCurrency.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesCurrency.ts:133


denom

denom: string

Defined in src/services/sdk/cosmos/definitions/TypesCurrency.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesCurrency.ts:134


info_path_hex

info_path_hex: string

Defined in src/services/sdk/cosmos/definitions/TypesCurrency.ts:135


supply

supply: string

Defined in src/services/sdk/cosmos/definitions/TypesCurrency.ts:136

Defined in src/services/sdk/dfinance/definitions/TypesCurrency.ts:135

JSDK

Globals / TypesCurrentPrice

Interface: TypesCurrentPrice

Hierarchy

  • TypesCurrentPrice

Index

Properties

Properties

asset_code

asset_code: string

Defined in src/services/sdk/cosmos/definitions/TypesCurrentPrice.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesCurrentPrice.ts:133


price

price: string

Defined in src/services/sdk/cosmos/definitions/TypesCurrentPrice.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesCurrentPrice.ts:134


received_at

received_at: string

Defined in src/services/sdk/cosmos/definitions/TypesCurrentPrice.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesCurrentPrice.ts:135

JSDK

Globals / TypesDecCoin

Interface: TypesDecCoin

Hierarchy

  • TypesDecCoin

Index

Properties

Properties

amount

amount: TypesDec

Defined in src/services/sdk/cosmos/definitions/TypesDecCoin.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesDecCoin.ts:133


denom

denom: string

Defined in src/services/sdk/cosmos/definitions/TypesDecCoin.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesDecCoin.ts:134

JSDK

Globals / TypesDescription

Interface: TypesDescription

Hierarchy

  • TypesDescription

Index

Properties

Properties

details

details: string

Defined in src/services/sdk/cosmos/definitions/TypesDescription.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesDescription.ts:133


identity

identity: string

Defined in src/services/sdk/cosmos/definitions/TypesDescription.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesDescription.ts:134


moniker

moniker: string

Defined in src/services/sdk/cosmos/definitions/TypesDescription.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesDescription.ts:135


security_contact

security_contact: string

Defined in src/services/sdk/cosmos/definitions/TypesDescription.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesDescription.ts:136


website

website: string

Defined in src/services/sdk/cosmos/definitions/TypesDescription.ts:136

Defined in src/services/sdk/dfinance/definitions/TypesDescription.ts:137

JSDK

Globals / TypesIssue

Interface: TypesIssue

Hierarchy

  • TypesIssue

Index

Properties

Properties

coin

coin: string

Defined in src/services/sdk/cosmos/definitions/TypesIssue.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesIssue.ts:133


payee

payee: string

Defined in src/services/sdk/cosmos/definitions/TypesIssue.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesIssue.ts:134

JSDK

Globals / TypesMarket

Interface: TypesMarket

Hierarchy

  • TypesMarket

Index

Properties

Properties

base_asset_denom

base_asset_denom: string

Defined in src/services/sdk/cosmos/definitions/TypesMarket.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesMarket.ts:133


id

id: string

Defined in src/services/sdk/cosmos/definitions/TypesMarket.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesMarket.ts:134


quote_asset_denom

quote_asset_denom: string

Defined in src/services/sdk/cosmos/definitions/TypesMarket.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesMarket.ts:135

JSDK

Globals / TypesMarketExtended

Interface: TypesMarketExtended

Hierarchy

  • TypesMarketExtended

Index

Properties

Properties

base_currency

base_currency: CcstorageCurrency

Defined in src/services/sdk/cosmos/definitions/TypesMarketExtended.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesMarketExtended.ts:133


id

id: string

Defined in src/services/sdk/cosmos/definitions/TypesMarketExtended.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesMarketExtended.ts:134


quote_currency

quote_currency: CcstorageCurrency

Defined in src/services/sdk/cosmos/definitions/TypesMarketExtended.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesMarketExtended.ts:135

JSDK

Globals / TypesMsgPostOrder

Interface: TypesMsgPostOrder

Hierarchy

  • TypesMsgPostOrder

Index

Properties

Properties

asset_code

asset_code: string

Defined in src/services/sdk/cosmos/definitions/TypesMsgPostOrder.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesMsgPostOrder.ts:133


direction

direction: string

Defined in src/services/sdk/cosmos/definitions/TypesMsgPostOrder.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesMsgPostOrder.ts:134


owner

owner: TypesAccAddress

Defined in src/services/sdk/cosmos/definitions/TypesMsgPostOrder.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesMsgPostOrder.ts:135


price

price: TypesUint

Defined in src/services/sdk/cosmos/definitions/TypesMsgPostOrder.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesMsgPostOrder.ts:136


quantity

quantity: TypesUint

Defined in src/services/sdk/cosmos/definitions/TypesMsgPostOrder.ts:136

Defined in src/services/sdk/dfinance/definitions/TypesMsgPostOrder.ts:137


ttl_in_sec

ttl_in_sec: number

Defined in src/services/sdk/cosmos/definitions/TypesMsgPostOrder.ts:137

Defined in src/services/sdk/dfinance/definitions/TypesMsgPostOrder.ts:138

JSDK

Globals / TypesMsgRevokeOrder

Interface: TypesMsgRevokeOrder

Hierarchy

  • TypesMsgRevokeOrder

Index

Properties

Properties

order_id

order_id: string

Defined in src/services/sdk/cosmos/definitions/TypesMsgRevokeOrder.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesMsgRevokeOrder.ts:133


owner

owner: TypesAccAddress

Defined in src/services/sdk/cosmos/definitions/TypesMsgRevokeOrder.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesMsgRevokeOrder.ts:134

JSDK

Globals / TypesOracle

Interface: TypesOracle

Hierarchy

  • TypesOracle

Index

Properties

Properties

address

address: string

Defined in src/services/sdk/cosmos/definitions/TypesOracle.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesOracle.ts:133

JSDK

Globals / TypesOrder

Interface: TypesOrder

Hierarchy

  • TypesOrder

Index

Properties

Properties

created_at

created_at: string

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:133


direction

direction: string

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:134


id

id: string

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:135


market

market: MarketsMarketExtended

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:136


owner

owner: string

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:136

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:137


price

price: string

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:137

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:138


quantity

quantity: string

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:138

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:139


ttl_dur

ttl_dur: number

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:139

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:140


updated_at

updated_at: string

Defined in src/services/sdk/cosmos/definitions/TypesOrder.ts:140

Defined in src/services/sdk/dfinance/definitions/TypesOrder.ts:141

JSDK

Globals / TypesPostedPrice

Interface: TypesPostedPrice

Hierarchy

  • TypesPostedPrice

Index

Properties

Properties

asset_code

asset_code: string

Defined in src/services/sdk/cosmos/definitions/TypesPostedPrice.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesPostedPrice.ts:133


oracle_address

oracle_address: string

Defined in src/services/sdk/cosmos/definitions/TypesPostedPrice.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesPostedPrice.ts:134


price

price: string

Defined in src/services/sdk/cosmos/definitions/TypesPostedPrice.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesPostedPrice.ts:135


received_at

received_at: string

Defined in src/services/sdk/cosmos/definitions/TypesPostedPrice.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesPostedPrice.ts:136

JSDK

Globals / TypesStdFee

Interface: TypesStdFee

Hierarchy

  • TypesStdFee

Index

Properties

Properties

amount

amount: TypesCoins

Defined in src/services/sdk/cosmos/definitions/TypesStdFee.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesStdFee.ts:133


gas

gas: number

Defined in src/services/sdk/cosmos/definitions/TypesStdFee.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesStdFee.ts:134

JSDK

Globals / TypesStdSignature

Interface: TypesStdSignature

Hierarchy

  • TypesStdSignature

Index

Properties

Properties

signature

signature: number[]

Defined in src/services/sdk/cosmos/definitions/TypesStdSignature.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesStdSignature.ts:133

JSDK

Globals / TypesStdTx

Interface: TypesStdTx

Hierarchy

  • TypesStdTx

Index

Properties

Properties

fee

fee: TypesStdFee

Defined in src/services/sdk/cosmos/definitions/TypesStdTx.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesStdTx.ts:133


memo

memo: string

Defined in src/services/sdk/cosmos/definitions/TypesStdTx.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesStdTx.ts:134


msg

msg: TypesMsg[]

Defined in src/services/sdk/cosmos/definitions/TypesStdTx.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesStdTx.ts:135


signatures

signatures: TypesStdSignature[]

Defined in src/services/sdk/cosmos/definitions/TypesStdTx.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesStdTx.ts:136

JSDK

Globals / TypesTxVmStatus

Interface: TypesTxVmStatus

Hierarchy

  • TypesTxVmStatus

Index

Properties

Properties

hash

hash: string

Defined in src/services/sdk/cosmos/definitions/TypesTxVmStatus.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesTxVmStatus.ts:133


vm_status

vm_status: TypesVmStatuses

Defined in src/services/sdk/cosmos/definitions/TypesTxVmStatus.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesTxVmStatus.ts:134

JSDK

Globals / TypesValidator

Interface: TypesValidator

Hierarchy

  • TypesValidator

Index

Properties

Properties

commission

commission: TypesCommission

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:133


consensus_pubkey

consensus_pubkey: CryptoPubKey

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:134


delegator_shares

delegator_shares: TypesDec

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:135


description

description: TypesDescription

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:136


jailed

jailed: boolean

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:136

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:137


min_self_delegation

min_self_delegation: TypesInt

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:137

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:138


operator_address

operator_address: TypesValAddress

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:138

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:139


status

status: string

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:139

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:140


tokens

tokens: TypesInt

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:140

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:141


unbonding_height

unbonding_height: number

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:141

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:142


unbonding_time

unbonding_time: string

Defined in src/services/sdk/cosmos/definitions/TypesValidator.ts:142

Defined in src/services/sdk/dfinance/definitions/TypesValidator.ts:143

JSDK

Globals / TypesValidatorsConfirmationsResp

Interface: TypesValidatorsConfirmationsResp

Hierarchy

  • TypesValidatorsConfirmationsResp

Index

Properties

Properties

confirmations

confirmations: number

Defined in src/services/sdk/cosmos/definitions/TypesValidatorsConfirmationsResp.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesValidatorsConfirmationsResp.ts:133


validators

validators: TypesValidators

Defined in src/services/sdk/cosmos/definitions/TypesValidatorsConfirmationsResp.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesValidatorsConfirmationsResp.ts:134

JSDK

Globals / TypesValueResp

Interface: TypesValueResp

Hierarchy

  • TypesValueResp

Index

Properties

Properties

value

value: string

Defined in src/services/sdk/cosmos/definitions/TypesValueResp.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesValueResp.ts:133

JSDK

Globals / TypesVmStatus

Interface: TypesVmStatus

Hierarchy

  • TypesVmStatus

Index

Properties

Properties

major_code

major_code: string

Defined in src/services/sdk/cosmos/definitions/TypesVmStatus.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesVmStatus.ts:133


message

message: string

Defined in src/services/sdk/cosmos/definitions/TypesVmStatus.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesVmStatus.ts:134


status

status: string

Defined in src/services/sdk/cosmos/definitions/TypesVmStatus.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesVmStatus.ts:135


str_code

str_code: string

Defined in src/services/sdk/cosmos/definitions/TypesVmStatus.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesVmStatus.ts:136


sub_code

sub_code: string

Defined in src/services/sdk/cosmos/definitions/TypesVmStatus.ts:136

Defined in src/services/sdk/dfinance/definitions/TypesVmStatus.ts:137

JSDK

Globals / TypesWithdraw

Interface: TypesWithdraw

Hierarchy

  • TypesWithdraw

Index

Properties

Properties

coin

coin: string

Defined in src/services/sdk/cosmos/definitions/TypesWithdraw.ts:132

Defined in src/services/sdk/dfinance/definitions/TypesWithdraw.ts:133


id

id: string

Defined in src/services/sdk/cosmos/definitions/TypesWithdraw.ts:133

Defined in src/services/sdk/dfinance/definitions/TypesWithdraw.ts:134


pegzone_chain_id

pegzone_chain_id: string

Defined in src/services/sdk/cosmos/definitions/TypesWithdraw.ts:134

Defined in src/services/sdk/dfinance/definitions/TypesWithdraw.ts:135


pegzone_spender

pegzone_spender: string

Defined in src/services/sdk/cosmos/definitions/TypesWithdraw.ts:135

Defined in src/services/sdk/dfinance/definitions/TypesWithdraw.ts:136


spender

spender: string

Defined in src/services/sdk/cosmos/definitions/TypesWithdraw.ts:136

Defined in src/services/sdk/dfinance/definitions/TypesWithdraw.ts:137


timestamp

timestamp: number

Defined in src/services/sdk/cosmos/definitions/TypesWithdraw.ts:137

Defined in src/services/sdk/dfinance/definitions/TypesWithdraw.ts:138


tx_hash

tx_hash: string

Defined in src/services/sdk/cosmos/definitions/TypesWithdraw.ts:138

Defined in src/services/sdk/dfinance/definitions/TypesWithdraw.ts:139

JSDK

Globals / UnbondingDelegation

Interface: UnbondingDelegation

Hierarchy

  • UnbondingDelegation

Index

Properties

Properties

balance

balance: string

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegation.ts:132

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegation.ts:133


creation_height

creation_height: number

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegation.ts:133

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegation.ts:134


delegator_address

delegator_address: string

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegation.ts:134

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegation.ts:135


initial_balance

initial_balance: string

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegation.ts:135

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegation.ts:136


min_time

min_time: number

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegation.ts:136

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegation.ts:137


validator_address

validator_address: string

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegation.ts:137

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegation.ts:138

JSDK

Globals / UnbondingDelegationPair

Interface: UnbondingDelegationPair

Hierarchy

  • UnbondingDelegationPair

Index

Properties

Properties

delegator_address

delegator_address: string

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegationPair.ts:132

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegationPair.ts:133


entries

entries: UnbondingEntries[]

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegationPair.ts:133

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegationPair.ts:134


validator_address

validator_address: string

Defined in src/services/sdk/cosmos/definitions/UnbondingDelegationPair.ts:134

Defined in src/services/sdk/dfinance/definitions/UnbondingDelegationPair.ts:135

JSDK

Globals / UnbondingDelegationTransaction

Interface: UnbondingDelegationTransaction

Hierarchy

  • UnbondingDelegationTransaction

Index

Properties

Properties

amount

amount: string

Defined in src/services/sdk/extra/transactions/unbondingDelegationTransaction.ts:9


chainId

chainId: string

Defined in src/services/sdk/extra/transactions/unbondingDelegationTransaction.ts:7


currency

currency: string

Defined in src/services/sdk/extra/transactions/unbondingDelegationTransaction.ts:8


fee

fee: string

Defined in src/services/sdk/extra/transactions/unbondingDelegationTransaction.ts:10


gas

gas: string

Defined in src/services/sdk/extra/transactions/unbondingDelegationTransaction.ts:11


memo

Optional memo: undefined | string

Defined in src/services/sdk/extra/transactions/unbondingDelegationTransaction.ts:12


validatorAddress

validatorAddress: string

Defined in src/services/sdk/extra/transactions/unbondingDelegationTransaction.ts:6

JSDK

Globals / UnbondingEntries

Interface: UnbondingEntries

Hierarchy

  • UnbondingEntries

Index

Properties

Properties

balance

balance: string

Defined in src/services/sdk/cosmos/definitions/UnbondingEntries.ts:132

Defined in src/services/sdk/dfinance/definitions/UnbondingEntries.ts:133


creation_height

creation_height: string

Defined in src/services/sdk/cosmos/definitions/UnbondingEntries.ts:133

Defined in src/services/sdk/dfinance/definitions/UnbondingEntries.ts:134


initial_balance

initial_balance: string

Defined in src/services/sdk/cosmos/definitions/UnbondingEntries.ts:134

Defined in src/services/sdk/dfinance/definitions/UnbondingEntries.ts:135


min_time

min_time: string

Defined in src/services/sdk/cosmos/definitions/UnbondingEntries.ts:135

Defined in src/services/sdk/dfinance/definitions/UnbondingEntries.ts:136

JSDK

Globals / Validator

Interface: Validator

Hierarchy

  • Validator

Index

Properties

Properties

bond_height

bond_height: string

Defined in src/services/sdk/cosmos/definitions/Validator.ts:132

Defined in src/services/sdk/dfinance/definitions/Validator.ts:133


bond_intra_tx_counter

bond_intra_tx_counter: number

Defined in src/services/sdk/cosmos/definitions/Validator.ts:133

Defined in src/services/sdk/dfinance/definitions/Validator.ts:134


commission

commission: { max_change_rate: string ; max_rate: string ; rate: string ; update_time: string }

Defined in src/services/sdk/cosmos/definitions/Validator.ts:134

Defined in src/services/sdk/dfinance/definitions/Validator.ts:135

Type declaration:
NameType
max\_change\_ratestring
max\_ratestring
ratestring
update\_timestring

consensus_pubkey

consensus_pubkey: string

Defined in src/services/sdk/cosmos/definitions/Validator.ts:135

Defined in src/services/sdk/dfinance/definitions/Validator.ts:136


delegator_shares

delegator_shares: string

Defined in src/services/sdk/cosmos/definitions/Validator.ts:136

Defined in src/services/sdk/dfinance/definitions/Validator.ts:137


description

description: { details: string ; identity: string ; moniker: string ; security_contact: string ; website: string }

Defined in src/services/sdk/cosmos/definitions/Validator.ts:137

Defined in src/services/sdk/dfinance/definitions/Validator.ts:138

Type declaration:
NameType
detailsstring
identitystring
monikerstring
security\_contactstring
websitestring

jailed

jailed: boolean

Defined in src/services/sdk/cosmos/definitions/Validator.ts:138

Defined in src/services/sdk/dfinance/definitions/Validator.ts:139


operator_address

operator_address: ValidatorAddress

Defined in src/services/sdk/cosmos/definitions/Validator.ts:139

Defined in src/services/sdk/dfinance/definitions/Validator.ts:140


status

status: number

Defined in src/services/sdk/cosmos/definitions/Validator.ts:140

Defined in src/services/sdk/dfinance/definitions/Validator.ts:141


tokens

tokens: string

Defined in src/services/sdk/cosmos/definitions/Validator.ts:141

Defined in src/services/sdk/dfinance/definitions/Validator.ts:142


unbonding_height

unbonding_height: string

Defined in src/services/sdk/cosmos/definitions/Validator.ts:142

Defined in src/services/sdk/dfinance/definitions/Validator.ts:143


unbonding_time

unbonding_time: string

Defined in src/services/sdk/cosmos/definitions/Validator.ts:143

Defined in src/services/sdk/dfinance/definitions/Validator.ts:144

JSDK

Globals / ValidatorDistInfo

Interface: ValidatorDistInfo

Hierarchy

  • ValidatorDistInfo

Index

Properties

Properties

operator_address

operator_address: ValidatorAddress

Defined in src/services/sdk/cosmos/definitions/ValidatorDistInfo.ts:132

Defined in src/services/sdk/dfinance/definitions/ValidatorDistInfo.ts:133


self_bond_rewards

self_bond_rewards: Coin[]

Defined in src/services/sdk/cosmos/definitions/ValidatorDistInfo.ts:133

Defined in src/services/sdk/dfinance/definitions/ValidatorDistInfo.ts:134


val_commission

val_commission: Coin[]

Defined in src/services/sdk/cosmos/definitions/ValidatorDistInfo.ts:134

Defined in src/services/sdk/dfinance/definitions/ValidatorDistInfo.ts:135

JSDK

Globals / VmClientMoveFile

Interface: VmClientMoveFile

Hierarchy

  • VmClientMoveFile

Index

Properties

Properties

code

code: string

Defined in src/services/sdk/cosmos/definitions/VmClientMoveFile.ts:132

Defined in src/services/sdk/dfinance/definitions/VmClientMoveFile.ts:133

JSDK

Globals / Vote

Interface: Vote

Hierarchy

  • Vote

Index

Properties

Properties

option

option: string

Defined in src/services/sdk/cosmos/definitions/Vote.ts:132

Defined in src/services/sdk/dfinance/definitions/Vote.ts:133


proposal_id

proposal_id: string

Defined in src/services/sdk/cosmos/definitions/Vote.ts:133

Defined in src/services/sdk/dfinance/definitions/Vote.ts:134


voter

voter: string

Defined in src/services/sdk/cosmos/definitions/Vote.ts:134

Defined in src/services/sdk/dfinance/definitions/Vote.ts:135

JSDK

Globals / Wallet

Interface: Wallet

Hierarchy

  • Wallet

Index

Properties

Properties

address

address: string

Defined in src/services/sdk/extra/crypto/index.ts:16


mnemonic

Optional mnemonic: undefined | string

Defined in src/services/sdk/extra/crypto/index.ts:15


path

path: string

Defined in src/services/sdk/extra/crypto/index.ts:17


privateKey

privateKey: string

Defined in src/services/sdk/extra/crypto/index.ts:13


publicKey

publicKey: string

Defined in src/services/sdk/extra/crypto/index.ts:14


sign

Optional sign: any

Defined in src/services/sdk/extra/crypto/index.ts:18

JSDK

Globals / WithdrawRewardTransaction

Interface: WithdrawRewardTransaction

Hierarchy

  • WithdrawRewardTransaction

Index

Properties

Properties

chainId

chainId: string

Defined in src/services/sdk/extra/transactions/withdrawRewardTransaction.ts:7


currency

currency: string

Defined in src/services/sdk/extra/transactions/withdrawRewardTransaction.ts:8


fee

fee: string

Defined in src/services/sdk/extra/transactions/withdrawRewardTransaction.ts:9


gas

gas: string

Defined in src/services/sdk/extra/transactions/withdrawRewardTransaction.ts:10


memo

Optional memo: undefined | string

Defined in src/services/sdk/extra/transactions/withdrawRewardTransaction.ts:11


validatorAddress

validatorAddress: string

Defined in src/services/sdk/extra/transactions/withdrawRewardTransaction.ts:6

FAQs

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