Network
getAbciInfo
- Get ABCI information This method is used to get ABCI information.
Parameters:
<string>
- a wallet address<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<AbciInfoResult>
- An instance ofAbciInfoResult
containing the response and error.
Example:
getAbciNoce
- Get ABCI Noce This method is used to get ABCI Noce.
Parameters:
<string>
- a wallet address<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<AbciNoceResult>
- An instance ofAbciNoceResult
containing the response and error.
Example:
getAssetToken
- Get information of given type of asset token This method is used to get information of given type of asset token
Parameters:
<string>
- asset code<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<AssetTokenDataResult>
- An instance ofAssetTokenDataResult
containing the response and error.
Example:
getBlock
- Get datails of given block This method is used to get details of given block.
Parameters:
<number>
- block Height<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<BlockDetailsDataResult>
- An instance ofBlockDetailsDataResult
containing the response and error.
Example:
getDelegateInfo
- Get the delegation information This method is used to get the delegation information.
Parameters:
<string>
- public key<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<DelegateInfoDataResult>
- An instance ofDelegateInfoDataResult
containing the response and error.
Example:
getHashSwap
- Get transaction details This method is used to get details of transaction with given hash
Parameters:
<string>
- transaction hash<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<HashSwapDataResult>
- An instance ofHashSwapDataResult
containing the response and error.
Example:
getIssuedRecords
- Get information of issued records for given public key This method is used to get information of issued records for given public key
Parameters:
<string>
- public key<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<IssuedRecordDataResult>
- An instance ofIssuedRecordDataResult
containing the response and error.
Example:
getOwnedSids
- Get Sids owned by given address This method is used to get Sids owned by given address
Parameters:
<string>
- wallet address<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<OwnedSidsDataResult>
- An instance ofOwnedSidsDataResult
containing the response and error.
Example:
getOwnerMemo
- Get the owner memo by given UTXO sid This method is used to get owner memo by given UTXO sid
Parameters:
<number>
- UTXO sid<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<OwnerMemoDataResult>
- An instance ofOwnerMemoDataResult
containing the response and error.
Example:
getStateCommitment
- Returns state commitment An important property of a Findora ledger is the ability to authenticate transactions. Users can authenticate transactions against a small tag called the state commitment. The state commitment is a commitment to the current state of the ledger. The state commitment response is a tuple containing the state commitment and the state commitment version.
Parameters:
<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<StateCommitmentDataResult>
- An instance ofStateCommitmentDataResult
containing the response and error.
Example:
getTransactionStatus
- Returns transaction status Using the transaction handle, user can fetch the status of the transaction from the query server.
Parameters:
<string>
- transaction handle (hash)<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<TransactionStatusDataResult>
- An instance ofTransactionStatusDataResult
containing the response and error.
Example:
getTransactionDetails
- Returns transaction details Using the transaction handle, user can fetch the details of the transaction from the query server.
Parameters:
<string>
- transaction handle (hash)<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<TxDetailsDataResult>
- An instance ofTxDetailsDataResult
containing the response and error.
Example:
getTxList
- Get a list of transactions for given wallet address This method is used to get a list of transactions for given wallet address
Parameters:
<string>
- wallet address<"to"|"from">
- transaction type. it can only be "to" or "from"<number>
- pagination. Default is 1.<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<TxListDataResult>
- An instance ofTxListDataResult
containing the response and error.
Example:
getUtxo
- Get UTXO ledger for given utxo sid This method is used to get UTXO ledger for given UTXO sid
Parameters:
<number>
- UTXO SID<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<UtxoDataResult>
- An instance ofUtxoDataResult
containing the response and error.
Example:
getValidatorList
- Get validator list This method is used to get the list of validators.
Parameters:
<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<ValidatorListDataResult>
- An instance ofValidatorListDataResult
containing the response and error.
Example:
sendRpcCall
- Send RPC call This method is used to send RPC call.
Parameters:
<string>
- RPC url<{[key: string]: any}>
- payload<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<T>
- The response object from RPC call.
Example:
submitEvmTx
- Submit EVM transaction This method is used to submit a EVM transaction.
Parameters:
<string>
- transaction hash<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<SubmitEvmTxResult>
- An instance ofSubmitEvmTxResult
containing the response and error.
Example:
submitTransaction
- Submit transation This method is used to submit a transaction
Parameters:
<TransactionData>
- (optinal) transaction data<NetworkAxiosConfig>
- (optinal) network config
Results:
Promise<SubmitTransactionDataResult>
- An instance ofSubmitTransactionDataResult
containing the response and error.
Example:
Last updated