Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crypto-org-chain/chain-jslib
/ functions
Functions
857 in github.com/crypto-org-chain/chain-jslib
⨍
Functions
857
◇
Types & classes
1,040
↓ 5 callers
Function
typeUrlToMsgClassMapping
(cro: any, typeUrl: string)
lib/src/transaction/common/constants/typeurl.ts:62
↓ 4 callers
Method
addClass
* Add the given class to all elements of the group. * * @param className The class name to add.
docs/themes/src/default/assets/js/src/typedoc/components/Signature.ts:40
↓ 4 callers
Method
appendFeeAmount
* Appends an `Amount` to the AuthInfo Fee Amount List * @param {ICoin} feeAmount to be set to the raw tx body * @returns {RawTransac
lib/src/transaction/v2.raw.ts:248
↓ 4 callers
Function
checkAddressCheckSum
(data: string)
lib/src/utils/address.ts:45
↓ 4 callers
Function
cloneUint8Array
(arr: Uint8Array)
lib/src/utils/typed-array.ts:6
↓ 4 callers
Function
convertSecondsNanosToTZFormat
(seconds: Long, nanos: number)
lib/src/utils/timestamp.ts:6
↓ 4 callers
Method
fromCosmosMsgJSON
* Returns an instance of MsgFundCommunityPool * @param {string} msgJsonStr * @param {Network} network * @returns {MsgFundCo
lib/src/transaction/msg/v2/distribution/v2.MsgFundCommunityPool.ts:64
↓ 4 callers
Function
getHashOpStringFromValue
(targetValue: number)
lib/src/utils/txDecoder.ts:530
↓ 4 callers
Method
isIndexSigned
* Returns true when the signer index is already signed * @param {index} index * @returns {boolean} * @throws {Error} when index is inva
lib/src/transaction/signable.ts:166
↓ 4 callers
Function
isUint8Array
(data: unknown | Uint8Array)
lib/src/utils/address.ts:26
↓ 4 callers
Method
length
()
lib/src/utils/bytes/bytes.ts:144
↓ 4 callers
Function
owCosmosMsg
()
lib/src/transaction/msg/cosmosMsg.ts:23
↓ 4 callers
Function
owGoogleProtoAnyOptional
()
lib/src/transaction/msg/ow.types.ts:225
↓ 4 callers
Method
owIndex
()
lib/src/transaction/v2.signable.ts:323
↓ 4 callers
Function
owNetwork
()
lib/src/network/ow.types.ts:4
↓ 4 callers
Method
setLoadingState
* Set the loading state and update the visual state accordingly.
docs/themes/src/default/assets/js/src/typedoc/components/Search.ts:183
↓ 4 callers
Function
stripHexPrefix
(str: string)
lib/src/utils/address.ts:22
↓ 4 callers
Method
sub
* Subtract another Coin and returns a new Coin * @param {Coin} anotherCoin coins to subtract * @returns {Coin} * @throws {E
lib/src/coin/coin.ts:187
↓ 4 callers
Function
uint8ArrayToHexString
(uint8Array: Uint8Array)
lib/src/utils/address.ts:34
↓ 3 callers
Method
disconnect
()
lib/src/client/client.ts:54
↓ 3 callers
Method
dispatchEvent
(event: CustomEvent<T>)
docs/themes/src/default/assets/js/src/typedoc/EventTarget.ts:33
↓ 3 callers
Method
fromCosmosMsgJSON
* Returns an instance of CommunityPoolSpendProposal * @param {string} msgJsonStr * @param {Network} network * @returns {Com
lib/src/transaction/msg/v2/gov/proposal/v2.CommunityPoolSpendProposal.ts:61
↓ 3 callers
Method
fromCosmosMsgJSON
* Returns an instance of IBC.Header * @param {string} msgJsonStr * @param {Network} network * @returns {Header}
lib/src/transaction/msg/ibc/lightclients/Header.ts:80
↓ 3 callers
Method
fromCosmosMsgJSON
* Returns an instance of MsgUnjail * @param {string} msgJsonStr * @param {Network} network * @returns {MsgUnjail}
lib/src/transaction/msg/slashing/MsgUnjail.ts:62
↓ 3 callers
Function
getAuthInfoJson
(authInfo: AuthInfo)
lib/src/utils/txDecoder.ts:556
↓ 3 callers
Function
getBech32AddressFromEVMAddress
(evmAddress: string, bech32Prefix: string)
lib/src/utils/address.ts:121
↓ 3 callers
Function
getTxBodyJson
(txBody: TxBody)
lib/src/utils/txDecoder.ts:111
↓ 3 callers
Function
isHexPrefixed
(str: string)
lib/src/utils/address.ts:18
↓ 3 callers
Method
isValid
()
lib/src/utils/address.ts:143
↓ 3 callers
Method
owIndex
()
lib/src/transaction/signable.ts:172
↓ 3 callers
Function
protoEncodeEd25519PubKey
(pubKey: Bytes)
lib/src/transaction/msg/staking/MsgCreateValidator.ts:203
↓ 3 callers
Method
removeClass
* Remove the given class from all elements of the group. * * @param className The class name to remove.
docs/themes/src/default/assets/js/src/typedoc/components/Signature.ts:52
↓ 3 callers
Method
setActive
(value: boolean)
docs/themes/src/default/assets/js/src/typedoc/components/Toggle.ts:25
↓ 3 callers
Method
setFees
* Sets the fees to the raw tx * @param {ICoin[]} list of fee to be set to the raw tx body * @returns {RawTransactionV2} * @
lib/src/transaction/v2.raw.ts:234
↓ 3 callers
Method
setHasFocus
* Set the focus state and update the visual state accordingly.
docs/themes/src/default/assets/js/src/typedoc/components/Search.ts:197
↓ 3 callers
Method
toBuffer
* Returns Buffer representation of the Bytes * @returns {Buffer}
lib/src/utils/bytes/bytes.ts:114
↓ 3 callers
Function
typeUrlToCosmosTransformer
(str: string)
lib/src/utils/txDecoder.ts:574
↓ 2 callers
Function
SignModeValidator
(value: number)
lib/src/transaction/ow.types.ts:14
↓ 2 callers
Function
anyHDKey
()
lib/src/hdkey/hdkey.spec.ts:8
↓ 2 callers
Method
clean0x
(value: string)
lib/src/utils/bytes/bytes.ts:69
↓ 2 callers
Method
exportSignerAccounts
* Export the added SignerAccounts in JSON. * The result of this function can be imported into `SignableTransactionV2` instance * @me
lib/src/transaction/v2.raw.ts:125
↓ 2 callers
Function
fuzzyNilArgDefFnGenerator
(type: FuzzyArgType, validValue: T)
lib/src/test/mocha-fuzzy/suite.ts:148
↓ 2 callers
Function
generateAccount
( network: Network, )
lib/e2e/offline-signing/compare.ts:63
↓ 2 callers
Method
getChainId
()
lib/src/client/client.ts:45
↓ 2 callers
Method
getEncoded
* Returns the proto encoding representation of any IMsgProposalContent implementation * @returns {google.protobuf.Any}
lib/src/transaction/msg/gov/IMsgProposalContent.ts:14
↓ 2 callers
Method
getHeight
()
lib/src/client/client.ts:46
↓ 2 callers
Method
getSequence
(address: string)
lib/src/client/client.ts:49
↓ 2 callers
Function
getSignaturesJson
(signaturesArray: Uint8Array[])
lib/src/utils/txDecoder.ts:102
↓ 2 callers
Method
getTxRaw
* Returns TxRaw * @returns {TxRaw} * @memberof SignedTransaction
lib/src/transaction/signed.ts:51
↓ 2 callers
Method
importSignerAccounts
* Imports SignerAccounts for the transaction. * Note: It must be called before setting signature /converting to `Signed`/Setting AccountNumber
lib/src/transaction/v2.signable.ts:206
↓ 2 callers
Function
isValidSepc256k1PublicKey
(val: Bytes)
lib/src/utils/secp256k1.ts:28
↓ 2 callers
Method
onClick
* Triggered when the user clicks onto a signature header. * * @param e The related event object.
docs/themes/src/default/assets/js/src/typedoc/components/Signature.ts:157
↓ 2 callers
Method
onResize
* Triggered after the viewport was resized.
docs/themes/src/default/assets/js/src/typedoc/components/MenuHighlight.ts:94
↓ 2 callers
Method
onResize
* Triggered when the size of the window has changed.
docs/themes/src/default/assets/js/src/typedoc/services/Viewport.ts:83
↓ 2 callers
Method
onScroll
* Triggered after the viewport was scrolled. * * @param event The custom event with the current vertical scroll position.
docs/themes/src/default/assets/js/src/typedoc/components/MenuHighlight.ts:120
↓ 2 callers
Method
onScroll
* Triggered when the user scrolled the viewport.
docs/themes/src/default/assets/js/src/typedoc/services/Viewport.ts:101
↓ 2 callers
Function
owContent
()
lib/src/transaction/msg/ow.types.ts:19
↓ 2 callers
Function
owIntegerString
()
lib/src/transaction/ow.types.ts:76
↓ 2 callers
Function
owOptionalCoin
()
lib/src/coin/ow.types.ts:15
↓ 2 callers
Function
owSignerAccount
()
lib/src/transaction/ow.types.ts:46
↓ 2 callers
Method
parseCROAmount
* Parse and validate a amount in CRO unit represented as Big to base unit * @param {Big} croAmount amount in CRO unit * @returns {Bi
lib/src/coin/v2.coin/v2.coin.ts:159
↓ 2 callers
Function
protoEncodeAuthInfoV2
(authInfo: AuthInfoV2)
lib/src/utils/protoBuf/encoder/v2.authInfo.ts:10
↓ 2 callers
Function
protoEncodeTxBody
(txBody: TxBody)
lib/src/utils/protoBuf/encoder/txBodyMessage.ts:11
↓ 2 callers
Method
setCurrentResult
* Move the highlight within the result set.
docs/themes/src/default/assets/js/src/typedoc/components/Search.ts:223
↓ 2 callers
Method
setIndex
* Set the index of the active signature. * * @param index The index of the signature to activate.
docs/themes/src/default/assets/js/src/typedoc/components/Signature.ts:108
↓ 2 callers
Method
setQuery
* Set the query string and update the results.
docs/themes/src/default/assets/js/src/typedoc/components/Search.ts:214
↓ 2 callers
Method
setSignerAccountNumberAtIndex
* This function manually set the provided accountNumber at a specified index of signerAccountsList * @param {number} index index of the signer
lib/src/transaction/v2.signable.ts:251
↓ 2 callers
Function
throttle
(fn: (...args: A) => void, wait = 100)
docs/themes/src/default/assets/js/src/typedoc/utils/trottle.ts:3
↓ 2 callers
Method
toBig
* Returns the Big representation of the Coin in base unit * @returns {Big} * @memberof Coin
lib/src/coin/coin.ts:202
↓ 2 callers
Method
toSignDocumentHash
* Returns the SignDoc Hash of the specified index * @param {number} index index of the signer * @returns {Bytes} , length is 32 bytes, SHA25
lib/src/transaction/v2.signable.ts:266
↓ 2 callers
Method
triggerResize
* Trigger a resize event.
docs/themes/src/default/assets/js/src/typedoc/services/Viewport.ts:68
↓ 2 callers
Function
unifyJSON
(anyContent: string)
lib/e2e/offline-signing/compare.ts:126
↓ 2 callers
Method
updateResults
* Update the visible state of the search control.
docs/themes/src/default/assets/js/src/typedoc/components/Search.ts:145
↓ 1 callers
Function
MsgConnectionOpenConfirmIBC
(config: InitConfigurations)
lib/src/transaction/msg/ibc/core/connection/MsgConnectionOpenConfirm.ts:13
↓ 1 callers
Function
MsgConnectionOpenTryIBC
(config: InitConfigurations)
lib/src/transaction/msg/ibc/core/connection/MsgConnectionOpenTry.ts:14
↓ 1 callers
Method
addMessage
* Add Cosmos message to transaction. The message orders will follow the add order. * @param {CosmosMsg} message one of the supported Cosmos m
lib/src/transaction/v2.raw.ts:66
↓ 1 callers
Function
anyValidOptions
()
lib/src/core/cro.spec.ts:5
↓ 1 callers
Function
argToString
(arg: any)
lib/src/test/mocha-fuzzy/suite.ts:89
↓ 1 callers
Method
bindEvents
* Bind events on result list wrapper, input field and document body.
docs/themes/src/default/assets/js/src/typedoc/components/Search.ts:262
↓ 1 callers
Function
cancelSoftwareUpgradeProposal
()
lib/src/transaction/msg/gov/proposal/CancelSoftwareUpgradeProposal.ts:7
↓ 1 callers
Method
clone
* Returns a cloned copy of the Bytes * @returns {Bytes}
lib/src/utils/bytes/bytes.ts:140
↓ 1 callers
Function
coin
(config: InitConfigurations)
lib/src/coin/coin.ts:29
↓ 1 callers
Function
coins
(amount: string, denom: string)
lib/src/cosmos/coins.ts:26
↓ 1 callers
Function
coinv2
(config: InitConfigurations)
lib/src/coin/v2.coin/v2.coin.ts:29
↓ 1 callers
Function
communityPoolSpendProposal
(config: InitConfigurations)
lib/src/transaction/msg/gov/proposal/CommunityPoolSpendProposal.ts:11
↓ 1 callers
Function
communityPoolSpendProposalV2
(config: InitConfigurations)
lib/src/transaction/msg/v2/gov/proposal/v2.CommunityPoolSpendProposal.ts:11
↓ 1 callers
Method
createAnchors
* Find all anchors on the current page.
docs/themes/src/default/assets/js/src/typedoc/components/MenuHighlight.ts:64
↓ 1 callers
Method
createComponents
* Create all components beneath the given jQuery element.
docs/themes/src/default/assets/js/src/typedoc/Application.ts:96
↓ 1 callers
Method
createGroups
* Find all signature/description groups.
docs/themes/src/default/assets/js/src/typedoc/components/Signature.ts:138
↓ 1 callers
Method
createServices
* Create all services.
docs/themes/src/default/assets/js/src/typedoc/Application.ts:85
↓ 1 callers
Function
croClient
(config: InitConfigurations)
lib/src/client/client.ts:58
↓ 1 callers
Function
decodeRawTxWithGo
(rawTx: string)
lib/e2e/tx-decoder/compare.ts:57
↓ 1 callers
Function
delayedVestingAccount
(config: InitConfigurations)
lib/src/transaction/msg/account/DelayedVestingAccount.ts:13
↓ 1 callers
Function
encodeTxRaw
(txRaw: TxRaw)
lib/src/transaction/signed.ts:59
↓ 1 callers
Method
estimateGasLimit
(txBody: CosmosTx)
lib/src/client/client.ts:143
↓ 1 callers
Method
fromLocalStorage
(value: string)
docs/themes/src/default/assets/js/src/typedoc/components/Filter.ts:140
↓ 1 callers
Function
fuzzyArgTestFnGenerator
( accuTestFn: (...testFnArgs: FuzzyArg<any>[]) => any, fuzzyArgDef: FuzzyArgDef<any>, )
lib/src/test/mocha-fuzzy/suite.ts:240
↓ 1 callers
Function
generateUnsignedTxWithChainMaind
(command: string, network: Network)
lib/e2e/offline-signing/compare.ts:25
↓ 1 callers
Method
getAuthInfo
* Returns AuthInfo * @returns {AuthInfoV2} * @memberof Transaction
lib/src/transaction/v2.raw.ts:368
↓ 1 callers
Method
getBlock
(height?: number)
lib/src/client/client.ts:50
← previous
next →
101–200 of 857, ranked by callers