diff --git a/.changeset/bright-tips-visit.md b/.changeset/bright-tips-visit.md deleted file mode 100644 index e52e4f3..0000000 --- a/.changeset/bright-tips-visit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@scio-labs/use-inkathon': patch ---- - -Minor types fix & Updates (i.e. to Node 20). diff --git a/CHANGELOG.md b/CHANGELOG.md index 49043ec..3964391 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @scio-labs/use-inkathon +## 0.6.1 + +### Patch Changes + +- [`17814f3`](https://github.com/scio-labs/use-inkathon/commit/17814f3ad8d05418dd9d8874637e22f14a535897) Thanks [@wottpal](https://github.com/wottpal)! - Minor types fix & Updates (i.e. to Node 20). + ## 0.6.0 ### Minor Changes diff --git a/docs/enums/AssetType.html b/docs/enums/AssetType.html index 82757ca..610b20c 100644 --- a/docs/enums/AssetType.html +++ b/docs/enums/AssetType.html @@ -1,3 +1,3 @@ -AssetType | @scio-labs/use-inkathon

Enumeration Members

PSP22 +AssetType | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

PSP22: "PSP22"
PSP34: "PSP34"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/SubstrateExplorer.html b/docs/enums/SubstrateExplorer.html index 1ba3e11..c839809 100644 --- a/docs/enums/SubstrateExplorer.html +++ b/docs/enums/SubstrateExplorer.html @@ -1,3 +1,3 @@ -SubstrateExplorer | @scio-labs/use-inkathon

Enumeration SubstrateExplorer

Enumeration Members

PolkadotJs +SubstrateExplorer | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

PolkadotJs: "polkadotjs"
Subscan: "subscan"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/SubstrateWalletPlatform.html b/docs/enums/SubstrateWalletPlatform.html index 2a5370d..6561a9b 100644 --- a/docs/enums/SubstrateWalletPlatform.html +++ b/docs/enums/SubstrateWalletPlatform.html @@ -1,4 +1,4 @@ -SubstrateWalletPlatform | @scio-labs/use-inkathon

Enumeration SubstrateWalletPlatform

Enumeration Members

Android +SubstrateWalletPlatform | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

Android: "android"
Browser: "browser"
iOS: "ios"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/UseInkathonErrorCode.html b/docs/enums/UseInkathonErrorCode.html index 15285f3..1ec819a 100644 --- a/docs/enums/UseInkathonErrorCode.html +++ b/docs/enums/UseInkathonErrorCode.html @@ -1,4 +1,4 @@ -UseInkathonErrorCode | @scio-labs/use-inkathon

Enumeration UseInkathonErrorCode

Enumeration Members

InitializationError +UseInkathonErrorCode | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

InitializationError: 0
NoAccountInjected: 2
NoSubstrateExtensionDetected: 1

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/accountArraysAreEqual.html b/docs/functions/accountArraysAreEqual.html index 865141f..368f262 100644 --- a/docs/functions/accountArraysAreEqual.html +++ b/docs/functions/accountArraysAreEqual.html @@ -1,3 +1,3 @@ accountArraysAreEqual | @scio-labs/use-inkathon

Function accountArraysAreEqual

  • Returns true if both given arrays of injected accounts contain the same objects with the same addresses in the same order.

    -

    Parameters

    • a1: InjectedAccount[]
    • a2: InjectedAccount[]

    Returns boolean

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/accountsAreEqual.html b/docs/functions/accountsAreEqual.html index d476d3c..5d6eb40 100644 --- a/docs/functions/accountsAreEqual.html +++ b/docs/functions/accountsAreEqual.html @@ -1,2 +1,2 @@ accountsAreEqual | @scio-labs/use-inkathon
  • Returns true if both given injected accounts have the same address.

    -

    Parameters

    • Optional a1: InjectedAccount
    • Optional a2: InjectedAccount

    Returns boolean

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/checkIfBalanceSufficient.html b/docs/functions/checkIfBalanceSufficient.html index 4e2de80..e0833cd 100644 --- a/docs/functions/checkIfBalanceSufficient.html +++ b/docs/functions/checkIfBalanceSufficient.html @@ -1,3 +1,3 @@ checkIfBalanceSufficient | @scio-labs/use-inkathon

Function checkIfBalanceSufficient

  • Fetches the balance of the given address and returns a boolean whether this is zero or below an optionally passed minimum value.

    -

    Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • Optional minBalance: string | number | bigint | BN

    Returns Promise<boolean>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<boolean>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/contractCallDryRun.html b/docs/functions/contractCallDryRun.html index 985d556..93a863e 100644 --- a/docs/functions/contractCallDryRun.html +++ b/docs/functions/contractCallDryRun.html @@ -1,3 +1,3 @@ contractCallDryRun | @scio-labs/use-inkathon
  • Performs a dry run for the given contract method and arguments. Is used within contractQuery & contractTx for gas estimation.

    -

    Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...

    Returns Promise<ContractCallOutcome>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<ContractCallOutcome>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/contractQuery.html b/docs/functions/contractQuery.html index 952db5c..bb41731 100644 --- a/docs/functions/contractQuery.html +++ b/docs/functions/contractQuery.html @@ -1,2 +1,2 @@ contractQuery | @scio-labs/use-inkathon
  • Calls a given non-mutating contract method (query) with maximum possible gas limit.

    -

    Parameters

    • api: ApiPromise
    • address: string
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...

    Returns Promise<ContractCallOutcome>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<ContractCallOutcome>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/contractTx.html b/docs/functions/contractTx.html index 835ee6a..febae21 100644 --- a/docs/functions/contractTx.html +++ b/docs/functions/contractTx.html @@ -1 +1 @@ -contractTx | @scio-labs/use-inkathon
  • Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...
    • Optional statusCb: ((result) => void | Promise<void>)
        • (result): void | Promise<void>
        • Parameters

          • result: ISubmittableResult

          Returns void | Promise<void>

    Returns Promise<ContractTxResult>

Generated using TypeDoc

\ No newline at end of file +contractTx | @scio-labs/use-inkathon
  • Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...
    • Optional statusCb: ((result) => void | Promise<void>)
        • (result): void | Promise<void>
        • Parameters

          • result: ISubmittableResult

          Returns void | Promise<void>

    Returns Promise<ContractTxResult>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/decodeOutput.html b/docs/functions/decodeOutput.html index be5043c..5d3f4ce 100644 --- a/docs/functions/decodeOutput.html +++ b/docs/functions/decodeOutput.html @@ -1,4 +1,4 @@ decodeOutput | @scio-labs/use-inkathon
  • Decodes & unwraps outputs and errors of a given result, contract, and method. Parsed error message can be found in decodedOutput if isError is true. SOURCE: https://github.com/paritytech/contracts-ui (GPL-3.0-only)

    -

    Parameters

    • __namedParameters: Pick<ContractExecResult, "result" | "debugMessage">
    • contract: ContractPromise
    • method: string

    Returns {
        decodedOutput: string;
        isError: boolean;
        output: any;
    }

    • decodedOutput: string
    • isError: boolean
    • output: any

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    decodedOutput: string;
    isError: boolean;
    output: any;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/deployContract.html b/docs/functions/deployContract.html index ab36b1c..ad33c2c 100644 --- a/docs/functions/deployContract.html +++ b/docs/functions/deployContract.html @@ -1,2 +1,2 @@ deployContract | @scio-labs/use-inkathon
  • Uploads & instantiates a contract on-chain.

    -

    Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • abi: any
    • wasm: string | Uint8Array | Buffer
    • constructorMethod: string = 'new'
    • args: unknown[] = ...
    • options: ContractOptions = ...

    Returns Promise<{
        address: string;
        block: SignedBlock;
        blockNumber: number;
        hash: string;
    }>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<{
    address: string;
    block: SignedBlock;
    blockNumber: number;
    hash: string;
}>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/enableWallet.html b/docs/functions/enableWallet.html index 92e04ef..cba10af 100644 --- a/docs/functions/enableWallet.html +++ b/docs/functions/enableWallet.html @@ -1,2 +1,2 @@ enableWallet | @scio-labs/use-inkathon
  • Enables the given wallet (if existent) and returns the injected extension.

    -

    Parameters

    Returns Promise<undefined | InjectedExtension>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<undefined | InjectedExtension>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/formatBalance.html b/docs/functions/formatBalance.html index e11de46..aa3df32 100644 --- a/docs/functions/formatBalance.html +++ b/docs/functions/formatBalance.html @@ -1,2 +1,2 @@ formatBalance | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getAbiMessage.html b/docs/functions/getAbiMessage.html index 6c48e7b..10c316f 100644 --- a/docs/functions/getAbiMessage.html +++ b/docs/functions/getAbiMessage.html @@ -1,2 +1,2 @@ getAbiMessage | @scio-labs/use-inkathon
  • Returns the ABI message for the given method name within the given contract.

    -

    Parameters

    • contract: ContractPromise
    • method: string

    Returns AbiMessage

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns AbiMessage

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getBalance.html b/docs/functions/getBalance.html index c9fba2c..dcdd797 100644 --- a/docs/functions/getBalance.html +++ b/docs/functions/getBalance.html @@ -1,2 +1,2 @@ getBalance | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<BalanceData>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getDeployment.html b/docs/functions/getDeployment.html index 27ce17f..3a2f14f 100644 --- a/docs/functions/getDeployment.html +++ b/docs/functions/getDeployment.html @@ -1,3 +1,3 @@ getDeployment | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns undefined | SubstrateDeployment

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getDeploymentContract.html b/docs/functions/getDeploymentContract.html index 98c1696..af6e5dd 100644 --- a/docs/functions/getDeploymentContract.html +++ b/docs/functions/getDeploymentContract.html @@ -1,3 +1,3 @@ getDeploymentContract | @scio-labs/use-inkathon

Function getDeploymentContract

  • Takes the first matching deployment from the given deployments array with an equal contractId and networkId and creates a ContractPromise.

    -

    Parameters

    Returns undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getExtrinsicErrorMessage.html b/docs/functions/getExtrinsicErrorMessage.html index 9888352..ad89aba 100644 --- a/docs/functions/getExtrinsicErrorMessage.html +++ b/docs/functions/getExtrinsicErrorMessage.html @@ -1 +1 @@ -getExtrinsicErrorMessage | @scio-labs/use-inkathon

Function getExtrinsicErrorMessage

Generated using TypeDoc

\ No newline at end of file +getExtrinsicErrorMessage | @scio-labs/use-inkathon

Function getExtrinsicErrorMessage

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getGasLimit.html b/docs/functions/getGasLimit.html index 4a63501..9ae5a74 100644 --- a/docs/functions/getGasLimit.html +++ b/docs/functions/getGasLimit.html @@ -1,2 +1,2 @@ getGasLimit | @scio-labs/use-inkathon
  • Helper function that returns Weights V2 gasLimit object.

    -

    Parameters

    • api: ApiPromise
    • _refTime: string | BN
    • _proofSize: string | BN

    Returns WeightV2

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns WeightV2

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getMaxGasLimit.html b/docs/functions/getMaxGasLimit.html index 083944f..870cfd5 100644 --- a/docs/functions/getMaxGasLimit.html +++ b/docs/functions/getMaxGasLimit.html @@ -1,4 +1,4 @@ getMaxGasLimit | @scio-labs/use-inkathon
  • Helper function that returns the maximum gas limit Weights V2 object for an extrinsic based on the api chain constants. NOTE: It's reduced by a given factor (defaults to 80%) to avoid storage exhaust.

    -

    Parameters

    • api: ApiPromise
    • reductionFactor: number = 0.8

    Returns WeightV2

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns WeightV2

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getNightlyConnectAdapter.html b/docs/functions/getNightlyConnectAdapter.html index 9836bd2..eaaccf6 100644 --- a/docs/functions/getNightlyConnectAdapter.html +++ b/docs/functions/getNightlyConnectAdapter.html @@ -1 +1 @@ -getNightlyConnectAdapter | @scio-labs/use-inkathon

Function getNightlyConnectAdapter

  • Parameters

    • Optional appName: string
    • Optional appIcon: string
    • Optional appOrigin: string
    • persisted: boolean = true

    Returns Promise<any>

Generated using TypeDoc

\ No newline at end of file +getNightlyConnectAdapter | @scio-labs/use-inkathon

Function getNightlyConnectAdapter

  • Parameters

    • Optional appName: string
    • Optional appIcon: string
    • Optional appOrigin: string
    • persisted: boolean = true

    Returns Promise<any>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getPSP22Balances.html b/docs/functions/getPSP22Balances.html index 3d40cc2..99af678 100644 --- a/docs/functions/getPSP22Balances.html +++ b/docs/functions/getPSP22Balances.html @@ -1,2 +1,2 @@ getPSP22Balances | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<PSP22BalanceData[]>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getSubstrateChain.html b/docs/functions/getSubstrateChain.html index 7e3db96..0bf8ff7 100644 --- a/docs/functions/getSubstrateChain.html +++ b/docs/functions/getSubstrateChain.html @@ -1,2 +1,2 @@ getSubstrateChain | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns undefined | SubstrateChain

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getSubstrateWallet.html b/docs/functions/getSubstrateWallet.html index 883ec63..2024e2d 100644 --- a/docs/functions/getSubstrateWallet.html +++ b/docs/functions/getSubstrateWallet.html @@ -1,2 +1,2 @@ getSubstrateWallet | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns undefined | SubstrateWallet

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getWebsiteIcon.html b/docs/functions/getWebsiteIcon.html index f58d7a9..6fe1013 100644 --- a/docs/functions/getWebsiteIcon.html +++ b/docs/functions/getWebsiteIcon.html @@ -1 +1 @@ -getWebsiteIcon | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +getWebsiteIcon | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/initPolkadotJs.html b/docs/functions/initPolkadotJs.html index 5d7a627..747c0a9 100644 --- a/docs/functions/initPolkadotJs.html +++ b/docs/functions/initPolkadotJs.html @@ -1,2 +1,2 @@ initPolkadotJs | @scio-labs/use-inkathon
  • Helper to initialize polkadot.js API with given chain and options.

    -

    Parameters

    Returns Promise<{
        api: ApiPromise;
        provider: WsProvider | HttpProvider;
    }>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<{
    api: ApiPromise;
    provider: WsProvider | HttpProvider;
}>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/isWalletInstalled.html b/docs/functions/isWalletInstalled.html index ce7b7ab..824f34c 100644 --- a/docs/functions/isWalletInstalled.html +++ b/docs/functions/isWalletInstalled.html @@ -1 +1 @@ -isWalletInstalled | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +isWalletInstalled | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/parsePSP22Balance.html b/docs/functions/parsePSP22Balance.html index 8ab50bd..21b5921 100644 --- a/docs/functions/parsePSP22Balance.html +++ b/docs/functions/parsePSP22Balance.html @@ -1,2 +1,2 @@ parsePSP22Balance | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/registerDeployment.html b/docs/functions/registerDeployment.html index c2012d9..a184ca2 100644 --- a/docs/functions/registerDeployment.html +++ b/docs/functions/registerDeployment.html @@ -1,4 +1,4 @@ registerDeployment | @scio-labs/use-inkathon
  • Registering the given deployment with the given setDeployments dispatcher. The registry is kept unique, so if there is already one deployment with equal contractId and networkId it will be replaced.

    -

    Parameters

    Returns void

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/registerDeployments.html b/docs/functions/registerDeployments.html index f0dcfd4..4dd5211 100644 --- a/docs/functions/registerDeployments.html +++ b/docs/functions/registerDeployments.html @@ -1,2 +1,2 @@ registerDeployments | @scio-labs/use-inkathon

Function registerDeployments

  • Registers all given deployments via registerDeployment after awaiting the promise.

    -

    Parameters

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/transferBalance.html b/docs/functions/transferBalance.html index 45b2c74..a53e0bc 100644 --- a/docs/functions/transferBalance.html +++ b/docs/functions/transferBalance.html @@ -1,2 +1,2 @@ transferBalance | @scio-labs/use-inkathon
  • Transfers a given amount of tokens from one account to another.

    -

    Parameters

    • api: ApiPromise
    • fromAccount: string | IKeyringPair
    • toAddress: string | AccountId
    • amount: string | number | bigint | BN
    • Optional allowDeath: boolean
    • Optional statusCb: ((result) => void | Promise<void>)
        • (result): void | Promise<void>
        • Parameters

          • result: ISubmittableResult

          Returns void | Promise<void>

    Returns Promise<TransferBalanceResult>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<TransferBalanceResult>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/transferFullBalance.html b/docs/functions/transferFullBalance.html index 7864fe8..87d125f 100644 --- a/docs/functions/transferFullBalance.html +++ b/docs/functions/transferFullBalance.html @@ -1,2 +1,2 @@ transferFullBalance | @scio-labs/use-inkathon

Function transferFullBalance

  • Transfers all available tokens from one account to another.

    -

    Parameters

    • api: ApiPromise
    • fromAccount: string | IKeyringPair
    • toAddress: string | AccountId
    • Optional keepAlive: boolean
    • Optional statusCb: ((result) => void | Promise<void>)
        • (result): void | Promise<void>
        • Parameters

          • result: ISubmittableResult

          Returns void | Promise<void>

    Returns Promise<TransferBalanceResult>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<TransferBalanceResult>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/unwrapResultOrDefault.html b/docs/functions/unwrapResultOrDefault.html index c7a60f7..70b7408 100644 --- a/docs/functions/unwrapResultOrDefault.html +++ b/docs/functions/unwrapResultOrDefault.html @@ -1,2 +1,2 @@ unwrapResultOrDefault | @scio-labs/use-inkathon

Function unwrapResultOrDefault

  • Unwraps a Weights V2 result type or returns the given default if there is no 'ok' value.

    -

    Type Parameters

    • T = any

    Parameters

    • outcome: Pick<ContractCallOutcome, "result" | "output">
    • defaultValue: T

    Returns T

Generated using TypeDoc

\ No newline at end of file +

Type Parameters

Parameters

Returns T

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/unwrapResultOrError.html b/docs/functions/unwrapResultOrError.html index 98cb1ce..c54b371 100644 --- a/docs/functions/unwrapResultOrError.html +++ b/docs/functions/unwrapResultOrError.html @@ -1,2 +1,2 @@ unwrapResultOrError | @scio-labs/use-inkathon

Function unwrapResultOrError

  • Unwraps a Weights V2 result type or errors if there is no 'ok' value.

    -

    Type Parameters

    • T = any

    Parameters

    • outcome: Pick<ContractCallOutcome, "result" | "output">

    Returns T

Generated using TypeDoc

\ No newline at end of file +

Type Parameters

Parameters

Returns T

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/useBalance.html b/docs/functions/useBalance.html index bf736ad..cdefbbd 100644 --- a/docs/functions/useBalance.html +++ b/docs/functions/useBalance.html @@ -1,2 +1,2 @@ useBalance | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns BalanceData

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/useContract.html b/docs/functions/useContract.html index aa51ff5..ae0babf 100644 --- a/docs/functions/useContract.html +++ b/docs/functions/useContract.html @@ -1,3 +1,3 @@ useContract | @scio-labs/use-inkathon
  • React Hook that returns a ContractPromise object configured with the active api & chain as well as the given abi and address.

    -

    Parameters

    • Optional abi: string | Record<string, unknown> | Abi
    • Optional address: string | AccountId

    Returns {
        address: undefined | string | AccountId;
        contract: undefined | ContractPromise;
    }

    • address: undefined | string | AccountId
    • contract: undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    address: undefined | string | AccountId;
    contract: undefined | ContractPromise;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/useInkathon.html b/docs/functions/useInkathon.html index 7db049c..2bb60a2 100644 --- a/docs/functions/useInkathon.html +++ b/docs/functions/useInkathon.html @@ -1,2 +1,2 @@ useInkathon | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Returns UseInkathonProviderContextType

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/usePSP22Balances.html b/docs/functions/usePSP22Balances.html index 6dba92b..d06443c 100644 --- a/docs/functions/usePSP22Balances.html +++ b/docs/functions/usePSP22Balances.html @@ -1,2 +1,2 @@ usePSP22Balances | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns PSP22BalanceData[]

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/useRegisteredContract.html b/docs/functions/useRegisteredContract.html index 0e58e00..b4e8ffe 100644 --- a/docs/functions/useRegisteredContract.html +++ b/docs/functions/useRegisteredContract.html @@ -1,4 +1,4 @@ useRegisteredContract | @scio-labs/use-inkathon

Function useRegisteredContract

  • React Hook that returns a ContractPromise object configured with the active api & chain as well as the given deployment contract id which is looked up from the deployments registry.

    -

    Parameters

    • contractId: string
    • Optional networkId: string

    Returns {
        address: undefined | string | AccountId;
        contract: undefined | ContractPromise;
    }

    • address: undefined | string | AccountId
    • contract: undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    address: undefined | string | AccountId;
    contract: undefined | ContractPromise;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/watchBalance.html b/docs/functions/watchBalance.html index 8dec81c..fc421e0 100644 --- a/docs/functions/watchBalance.html +++ b/docs/functions/watchBalance.html @@ -1,3 +1,3 @@ watchBalance | @scio-labs/use-inkathon
  • Watches the native token balance of the given address and returns it in a callback. The returned void function can be used to unsubscribe.

    -

    Parameters

    • api: ApiPromise
    • address: undefined | string | AccountId
    • callback: ((data) => void)
    • Optional formatterOptions: BalanceFormatterOptions

    Returns Promise<null | VoidFunction>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<null | VoidFunction>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/watchPSP22Balances.html b/docs/functions/watchPSP22Balances.html index c5b2d9e..1b9fdf3 100644 --- a/docs/functions/watchPSP22Balances.html +++ b/docs/functions/watchPSP22Balances.html @@ -1,3 +1,3 @@ watchPSP22Balances | @scio-labs/use-inkathon
  • Watches the PSP-22 token balances of the given address and returns it in a callback. The returned void function can be used to unsubscribe.

    -

    Parameters

    • api: ApiPromise
    • address: undefined | string | AccountId
    • callback: ((data) => void)
    • chainId: string
    • Optional formatterOptions: BalanceFormatterOptions

    Returns null | VoidFunction

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns null | VoidFunction

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/ChainAsset.html b/docs/interfaces/ChainAsset.html index 54340a2..c538072 100644 --- a/docs/interfaces/ChainAsset.html +++ b/docs/interfaces/ChainAsset.html @@ -1,4 +1,4 @@ -ChainAsset | @scio-labs/use-inkathon

Hierarchy

  • ChainAsset

Properties

assetType +ChainAsset | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Properties

assetType: AssetType
decimals: number
iconPath: string
metadata: null | Record<any, any>
name: string
originChain: string
slug: string
symbol: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SubstrateChain.html b/docs/interfaces/SubstrateChain.html index d8f0602..fcc3ddb 100644 --- a/docs/interfaces/SubstrateChain.html +++ b/docs/interfaces/SubstrateChain.html @@ -1,9 +1,9 @@ SubstrateChain | @scio-labs/use-inkathon

Substrate Chain Type

-

Hierarchy

  • SubstrateChain

Properties

Hierarchy

  • SubstrateChain

Properties

explorerUrls?: Partial<Record<SubstrateExplorer, string>>
faucetUrls?: string[]
name: string
network: string
rpcUrls: [string, ...string[]]
ss58Prefix?: number
testnet?: boolean

Generated using TypeDoc

\ No newline at end of file +

Properties

explorerUrls?: Partial<Record<SubstrateExplorer, string>>
faucetUrls?: string[]
name: string
network: string
rpcUrls: [string, ...string[]]
ss58Prefix?: number
testnet?: boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SubstrateDeployment.html b/docs/interfaces/SubstrateDeployment.html index e8ec2f9..743674e 100644 --- a/docs/interfaces/SubstrateDeployment.html +++ b/docs/interfaces/SubstrateDeployment.html @@ -1,5 +1,5 @@ -SubstrateDeployment | @scio-labs/use-inkathon

Interface SubstrateDeployment

Hierarchy

  • SubstrateDeployment

Properties

abi +SubstrateDeployment | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Properties

abi: string | Record<string, unknown> | Abi
address: string | AccountId
contractId: string
networkId: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SubstrateWallet.html b/docs/interfaces/SubstrateWallet.html index 3263ca4..2e38f06 100644 --- a/docs/interfaces/SubstrateWallet.html +++ b/docs/interfaces/SubstrateWallet.html @@ -1,6 +1,6 @@ -SubstrateWallet | @scio-labs/use-inkathon

Hierarchy

  • SubstrateWallet

Properties

id +SubstrateWallet | @scio-labs/use-inkathon

Hierarchy

  • SubstrateWallet

Properties

id: string
logoUrls: [string, ...string[]]
name: string
urls: {
    androidApp?: string;
    chromeExtension?: string;
    firefoxExtension?: string;
    iosApp?: string;
    website: string;
}

Type declaration

  • Optional androidApp?: string
  • Optional chromeExtension?: string
  • Optional firefoxExtension?: string
  • Optional iosApp?: string
  • website: string

Generated using TypeDoc

\ No newline at end of file +

Properties

id: string
logoUrls: [string, ...string[]]
name: string
urls: {
    androidApp?: string;
    chromeExtension?: string;
    firefoxExtension?: string;
    iosApp?: string;
    website: string;
}

Type declaration

  • Optional androidApp?: string
  • Optional chromeExtension?: string
  • Optional firefoxExtension?: string
  • Optional iosApp?: string
  • website: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/UseInkathonError.html b/docs/interfaces/UseInkathonError.html index cde610b..6dd2bcd 100644 --- a/docs/interfaces/UseInkathonError.html +++ b/docs/interfaces/UseInkathonError.html @@ -1,3 +1,3 @@ -UseInkathonError | @scio-labs/use-inkathon

Interface UseInkathonError

Hierarchy

  • UseInkathonError

Properties

code +UseInkathonError | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Properties

message: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/UseInkathonProviderProps.html b/docs/interfaces/UseInkathonProviderProps.html index d7d9d88..1eb30e6 100644 --- a/docs/interfaces/UseInkathonProviderProps.html +++ b/docs/interfaces/UseInkathonProviderProps.html @@ -1,9 +1,9 @@ UseInkathonProviderProps | @scio-labs/use-inkathon

Interface UseInkathonProviderProps

Main provider that needs to be wrapped around the app (see README) to use useInkathon and other hooks anywhere.

-

Hierarchy

  • PropsWithChildren
    • UseInkathonProviderProps

Properties

Hierarchy

  • PropsWithChildren
    • UseInkathonProviderProps

Properties

apiOptions?: ApiOptions
appName: string
children?: ReactNode
connectOnInit?: boolean
defaultChain: string | SubstrateChain
deployments?: Promise<SubstrateDeployment[]>

Generated using TypeDoc

\ No newline at end of file +

Properties

apiOptions?: ApiOptions
appName: string
children?: ReactNode
connectOnInit?: boolean
defaultChain: string | SubstrateChain
deployments?: Promise<SubstrateDeployment[]>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/BalanceData.html b/docs/types/BalanceData.html index ae3e04b..18a2aeb 100644 --- a/docs/types/BalanceData.html +++ b/docs/types/BalanceData.html @@ -1 +1 @@ -BalanceData | @scio-labs/use-inkathon
BalanceData: {
    balance?: BN;
    balanceFormatted?: string;
    freeBalance?: BN;
    freeBalanceFormatted?: string;
    reducibleBalance?: BN;
    reducibleBalanceFormatted?: string;
    reservedBalance?: BN;
    reservedBalanceFormatted?: string;
    tokenDecimals: number;
    tokenSymbol: string;
}

Type declaration

  • Optional balance?: BN
  • Optional balanceFormatted?: string
  • Optional freeBalance?: BN
  • Optional freeBalanceFormatted?: string
  • Optional reducibleBalance?: BN
  • Optional reducibleBalanceFormatted?: string
  • Optional reservedBalance?: BN
  • Optional reservedBalanceFormatted?: string
  • tokenDecimals: number
  • tokenSymbol: string

Generated using TypeDoc

\ No newline at end of file +BalanceData | @scio-labs/use-inkathon
BalanceData: {
    balance?: BN;
    balanceFormatted?: string;
    freeBalance?: BN;
    freeBalanceFormatted?: string;
    reducibleBalance?: BN;
    reducibleBalanceFormatted?: string;
    reservedBalance?: BN;
    reservedBalanceFormatted?: string;
    tokenDecimals: number;
    tokenSymbol: string;
}

Type declaration

  • Optional balance?: BN
  • Optional balanceFormatted?: string
  • Optional freeBalance?: BN
  • Optional freeBalanceFormatted?: string
  • Optional reducibleBalance?: BN
  • Optional reducibleBalanceFormatted?: string
  • Optional reservedBalance?: BN
  • Optional reservedBalanceFormatted?: string
  • tokenDecimals: number
  • tokenSymbol: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/BalanceFormatterOptions.html b/docs/types/BalanceFormatterOptions.html index 449c5d4..a3151c2 100644 --- a/docs/types/BalanceFormatterOptions.html +++ b/docs/types/BalanceFormatterOptions.html @@ -1 +1 @@ -BalanceFormatterOptions | @scio-labs/use-inkathon

Type alias BalanceFormatterOptions

BalanceFormatterOptions: Omit<PolkadotBalanceFormatterOptions, "forceUnit" | "withZero"> & {
    fixedDecimals?: number;
    forceUnit?: string | false;
    removeTrailingZeros?: boolean;
}

Type declaration

  • Optional fixedDecimals?: number
  • Optional forceUnit?: string | false
  • Optional removeTrailingZeros?: boolean

Generated using TypeDoc

\ No newline at end of file +BalanceFormatterOptions | @scio-labs/use-inkathon

Type alias BalanceFormatterOptions

BalanceFormatterOptions: Omit<PolkadotBalanceFormatterOptions, "forceUnit" | "withZero"> & {
    fixedDecimals?: number;
    forceUnit?: string | false;
    removeTrailingZeros?: boolean;
}

Type declaration

  • Optional fixedDecimals?: number
  • Optional forceUnit?: string | false
  • Optional removeTrailingZeros?: boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/ContractTxResult.html b/docs/types/ContractTxResult.html index c1f19ea..26e1461 100644 --- a/docs/types/ContractTxResult.html +++ b/docs/types/ContractTxResult.html @@ -1,3 +1,3 @@ ContractTxResult | @scio-labs/use-inkathon

Type alias ContractTxResult

ContractTxResult: {
    blockHash?: string;
    dryResult: ContractCallOutcome;
    errorEvent?: EventRecord;
    errorMessage?: ReturnType<typeof getExtrinsicErrorMessage> | "ExtrinsicFailed";
    extrinsicHash?: string;
    extrinsicIndex?: number;
    result?: ISubmittableResult;
    successEvent?: EventRecord;
}

Calls a given mutating contract method (tx) and wraps it in a promise. Before, a dry run is performed to determine the required gas & potential errors.

-

Type declaration

  • Optional blockHash?: string
  • dryResult: ContractCallOutcome
  • Optional errorEvent?: EventRecord
  • Optional errorMessage?: ReturnType<typeof getExtrinsicErrorMessage> | "ExtrinsicFailed"
  • Optional extrinsicHash?: string
  • Optional extrinsicIndex?: number
  • Optional result?: ISubmittableResult
  • Optional successEvent?: EventRecord

Generated using TypeDoc

\ No newline at end of file +

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/ExstrinsicThrowErrorMessage.html b/docs/types/ExstrinsicThrowErrorMessage.html index 95fd46a..436bba7 100644 --- a/docs/types/ExstrinsicThrowErrorMessage.html +++ b/docs/types/ExstrinsicThrowErrorMessage.html @@ -1,2 +1,2 @@ ExstrinsicThrowErrorMessage | @scio-labs/use-inkathon

Type alias ExstrinsicThrowErrorMessage

ExstrinsicThrowErrorMessage: "UserCancelled" | "TokenBelowMinimum" | "Error"

Decodes the error message from an extrinsic's error event.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/PSP22BalanceData.html b/docs/types/PSP22BalanceData.html index fb6d2fb..199f331 100644 --- a/docs/types/PSP22BalanceData.html +++ b/docs/types/PSP22BalanceData.html @@ -1 +1 @@ -PSP22BalanceData | @scio-labs/use-inkathon

Type alias PSP22BalanceData

PSP22BalanceData: {
    balance?: BN;
    balanceFormatted?: string;
    iconPath: string;
    tokenDecimals: number;
    tokenSlug: string;
    tokenSymbol: string;
}

Type declaration

  • Optional balance?: BN
  • Optional balanceFormatted?: string
  • iconPath: string
  • tokenDecimals: number
  • tokenSlug: string
  • tokenSymbol: string

Generated using TypeDoc

\ No newline at end of file +PSP22BalanceData | @scio-labs/use-inkathon

Type alias PSP22BalanceData

PSP22BalanceData: {
    balance?: BN;
    balanceFormatted?: string;
    iconPath: string;
    tokenDecimals: number;
    tokenSlug: string;
    tokenSymbol: string;
}

Type declaration

  • Optional balance?: BN
  • Optional balanceFormatted?: string
  • iconPath: string
  • tokenDecimals: number
  • tokenSlug: string
  • tokenSymbol: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/PolkadotBalanceFormatterOptions.html b/docs/types/PolkadotBalanceFormatterOptions.html index 24f32dd..7ee9358 100644 --- a/docs/types/PolkadotBalanceFormatterOptions.html +++ b/docs/types/PolkadotBalanceFormatterOptions.html @@ -1 +1 @@ -PolkadotBalanceFormatterOptions | @scio-labs/use-inkathon

Type alias PolkadotBalanceFormatterOptions

PolkadotBalanceFormatterOptions: NonNullable<Parameters<typeof polkadotFormatBalance>["1"]>

Generated using TypeDoc

\ No newline at end of file +PolkadotBalanceFormatterOptions | @scio-labs/use-inkathon

Type alias PolkadotBalanceFormatterOptions

PolkadotBalanceFormatterOptions: NonNullable<Parameters<typeof polkadotFormatBalance>["1"]>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/TokenData.html b/docs/types/TokenData.html index 9e806b3..97dd5f6 100644 --- a/docs/types/TokenData.html +++ b/docs/types/TokenData.html @@ -1 +1 @@ -TokenData | @scio-labs/use-inkathon
TokenData: {
    tokenDecimals: number;
    tokenSymbol: string;
}

Type declaration

  • tokenDecimals: number
  • tokenSymbol: string

Generated using TypeDoc

\ No newline at end of file +TokenData | @scio-labs/use-inkathon
TokenData: {
    tokenDecimals: number;
    tokenSymbol: string;
}

Type declaration

  • tokenDecimals: number
  • tokenSymbol: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/TransferBalanceResult.html b/docs/types/TransferBalanceResult.html index fe79a9c..6b38cb7 100644 --- a/docs/types/TransferBalanceResult.html +++ b/docs/types/TransferBalanceResult.html @@ -1 +1 @@ -TransferBalanceResult | @scio-labs/use-inkathon

Type alias TransferBalanceResult

TransferBalanceResult: {
    errorEvent?: EventRecord;
    errorMessage?: ExstrinsicThrowErrorMessage | "ExtrinsicFailed";
    result?: ISubmittableResult;
}

Type declaration

  • Optional errorEvent?: EventRecord
  • Optional errorMessage?: ExstrinsicThrowErrorMessage | "ExtrinsicFailed"
  • Optional result?: ISubmittableResult

Generated using TypeDoc

\ No newline at end of file +TransferBalanceResult | @scio-labs/use-inkathon

Type alias TransferBalanceResult

TransferBalanceResult: {
    errorEvent?: EventRecord;
    errorMessage?: ExstrinsicThrowErrorMessage | "ExtrinsicFailed";
    result?: ISubmittableResult;
}

Type declaration

  • Optional errorEvent?: EventRecord
  • Optional errorMessage?: ExstrinsicThrowErrorMessage | "ExtrinsicFailed"
  • Optional result?: ISubmittableResult

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/UseInkathonProviderContextType.html b/docs/types/UseInkathonProviderContextType.html index 74be96d..6a74196 100644 --- a/docs/types/UseInkathonProviderContextType.html +++ b/docs/types/UseInkathonProviderContextType.html @@ -1 +1 @@ -UseInkathonProviderContextType | @scio-labs/use-inkathon

Type alias UseInkathonProviderContextType

UseInkathonProviderContextType: {
    accounts?: InjectedAccount[];
    activeAccount?: InjectedAccount;
    activeChain?: SubstrateChain;
    activeExtension?: InjectedExtension;
    activeSigner?: Signer;
    api?: ApiPromise;
    connect?: ((chain?, wallet?, lastActiveAccountAddress?) => Promise<void>);
    deployments?: SubstrateDeployment[];
    disconnect?: (() => void);
    error?: UseInkathonError;
    isConnected?: boolean;
    isConnecting?: boolean;
    isInitialized?: boolean;
    isInitializing?: boolean;
    lastActiveAccount?: InjectedAccount;
    provider?: WsProvider | HttpProvider;
    setActiveAccount?: Dispatch<SetStateAction<InjectedAccount | undefined>>;
    switchActiveChain?: ((chain) => Promise<void>);
}

Type declaration

  • Optional accounts?: InjectedAccount[]
  • Optional activeAccount?: InjectedAccount
  • Optional activeChain?: SubstrateChain
  • Optional activeExtension?: InjectedExtension
  • Optional activeSigner?: Signer
  • Optional api?: ApiPromise
  • Optional connect?: ((chain?, wallet?, lastActiveAccountAddress?) => Promise<void>)
      • (chain?, wallet?, lastActiveAccountAddress?): Promise<void>
      • Parameters

        Returns Promise<void>

  • Optional deployments?: SubstrateDeployment[]
  • Optional disconnect?: (() => void)
      • (): void
      • Returns void

  • Optional error?: UseInkathonError
  • Optional isConnected?: boolean
  • Optional isConnecting?: boolean
  • Optional isInitialized?: boolean
  • Optional isInitializing?: boolean
  • Optional lastActiveAccount?: InjectedAccount
  • Optional provider?: WsProvider | HttpProvider
  • Optional setActiveAccount?: Dispatch<SetStateAction<InjectedAccount | undefined>>
  • Optional switchActiveChain?: ((chain) => Promise<void>)
      • (chain): Promise<void>
      • Parameters

        Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file +UseInkathonProviderContextType | @scio-labs/use-inkathon

Type alias UseInkathonProviderContextType

UseInkathonProviderContextType: {
    accounts?: InjectedAccount[];
    activeAccount?: InjectedAccount;
    activeChain?: SubstrateChain;
    activeExtension?: InjectedExtension;
    activeSigner?: Signer;
    api?: ApiPromise;
    connect?: ((chain?, wallet?, lastActiveAccountAddress?) => Promise<void>);
    deployments?: SubstrateDeployment[];
    disconnect?: (() => void);
    error?: UseInkathonError;
    isConnected?: boolean;
    isConnecting?: boolean;
    isInitialized?: boolean;
    isInitializing?: boolean;
    lastActiveAccount?: InjectedAccount;
    provider?: WsProvider | HttpProvider;
    setActiveAccount?: Dispatch<SetStateAction<InjectedAccount | undefined>>;
    switchActiveChain?: ((chain) => Promise<void>);
}

Type declaration

  • Optional accounts?: InjectedAccount[]
  • Optional activeAccount?: InjectedAccount
  • Optional activeChain?: SubstrateChain
  • Optional activeExtension?: InjectedExtension
  • Optional activeSigner?: Signer
  • Optional api?: ApiPromise
  • Optional connect?: ((chain?, wallet?, lastActiveAccountAddress?) => Promise<void>)
      • (chain?, wallet?, lastActiveAccountAddress?): Promise<void>
      • Parameters

        Returns Promise<void>

  • Optional deployments?: SubstrateDeployment[]
  • Optional disconnect?: (() => void)
      • (): void
      • Returns void

  • Optional error?: UseInkathonError
  • Optional isConnected?: boolean
  • Optional isConnecting?: boolean
  • Optional isInitialized?: boolean
  • Optional isInitializing?: boolean
  • Optional lastActiveAccount?: InjectedAccount
  • Optional provider?: WsProvider | HttpProvider
  • Optional setActiveAccount?: Dispatch<SetStateAction<InjectedAccount | undefined>>
  • Optional switchActiveChain?: ((chain) => Promise<void>)
      • (chain): Promise<void>
      • Parameters

        Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html b/docs/variables/PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html index 1a5ad27..a811792 100644 --- a/docs/variables/PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html +++ b/docs/variables/PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html @@ -1,2 +1,2 @@ PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL | @scio-labs/use-inkathon

Variable PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVALConst

PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL: 60000 = 60000

Default refresh interval for the PSP-22 token balances.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/agungTestnet.html b/docs/variables/agungTestnet.html index 444afa8..71f2e70 100644 --- a/docs/variables/agungTestnet.html +++ b/docs/variables/agungTestnet.html @@ -1 +1 @@ -agungTestnet | @scio-labs/use-inkathon

Variable agungTestnetConst

agungTestnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +agungTestnet | @scio-labs/use-inkathon

Variable agungTestnetConst

agungTestnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/alephzero.html b/docs/variables/alephzero.html index 23aa464..ff71e7c 100644 --- a/docs/variables/alephzero.html +++ b/docs/variables/alephzero.html @@ -1,2 +1,2 @@ alephzero | @scio-labs/use-inkathon

Variable alephzeroConst

alephzero: SubstrateChain = ...

Live Mainnet Networks

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/alephzeroSigner.html b/docs/variables/alephzeroSigner.html index b3550b3..7f0a951 100644 --- a/docs/variables/alephzeroSigner.html +++ b/docs/variables/alephzeroSigner.html @@ -1 +1 @@ -alephzeroSigner | @scio-labs/use-inkathon

Variable alephzeroSignerConst

alephzeroSigner: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file +alephzeroSigner | @scio-labs/use-inkathon

Variable alephzeroSignerConst

alephzeroSigner: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/alephzeroTestnet.html b/docs/variables/alephzeroTestnet.html index 64e8f76..179cdf9 100644 --- a/docs/variables/alephzeroTestnet.html +++ b/docs/variables/alephzeroTestnet.html @@ -1,2 +1,2 @@ alephzeroTestnet | @scio-labs/use-inkathon

Variable alephzeroTestnetConst

alephzeroTestnet: SubstrateChain = ...

Live Testnets

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/allPSP22Assets.html b/docs/variables/allPSP22Assets.html index 382187f..a701131 100644 --- a/docs/variables/allPSP22Assets.html +++ b/docs/variables/allPSP22Assets.html @@ -1,2 +1,2 @@ allPSP22Assets | @scio-labs/use-inkathon

Variable allPSP22AssetsConst

allPSP22Assets: Record<string, ChainAsset> = ...

Acknowledgement: PSP22_ASSETS.json is inspired by Subwallet's ChainAsset.json

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/allSubstrateChains.html b/docs/variables/allSubstrateChains.html index ac98cca..49034fb 100644 --- a/docs/variables/allSubstrateChains.html +++ b/docs/variables/allSubstrateChains.html @@ -1,2 +1,2 @@ allSubstrateChains | @scio-labs/use-inkathon

Variable allSubstrateChainsConst

allSubstrateChains: SubstrateChain[] = ...

Exporting all chains separately

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/allSubstrateWallets.html b/docs/variables/allSubstrateWallets.html index 09f594b..0cbcf27 100644 --- a/docs/variables/allSubstrateWallets.html +++ b/docs/variables/allSubstrateWallets.html @@ -1,2 +1,2 @@ allSubstrateWallets | @scio-labs/use-inkathon

Variable allSubstrateWalletsConst

allSubstrateWallets: SubstrateWallet[] = ...

Exporting all wallets separately

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/amplitude.html b/docs/variables/amplitude.html index 41ef385..cfdf3f1 100644 --- a/docs/variables/amplitude.html +++ b/docs/variables/amplitude.html @@ -1 +1 @@ -amplitude | @scio-labs/use-inkathon

Variable amplitudeConst

amplitude: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +amplitude | @scio-labs/use-inkathon

Variable amplitudeConst

amplitude: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/amplitudeTestnet.html b/docs/variables/amplitudeTestnet.html index e7ca03d..0d9c195 100644 --- a/docs/variables/amplitudeTestnet.html +++ b/docs/variables/amplitudeTestnet.html @@ -1 +1 @@ -amplitudeTestnet | @scio-labs/use-inkathon

Variable amplitudeTestnetConst

amplitudeTestnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +amplitudeTestnet | @scio-labs/use-inkathon

Variable amplitudeTestnetConst

amplitudeTestnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/astar.html b/docs/variables/astar.html index 4548bb4..f6ad73f 100644 --- a/docs/variables/astar.html +++ b/docs/variables/astar.html @@ -1 +1 @@ -astar | @scio-labs/use-inkathon

Variable astarConst

astar: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +astar | @scio-labs/use-inkathon

Variable astarConst

astar: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/bitCountryAlphaTestnet.html b/docs/variables/bitCountryAlphaTestnet.html index 03cf1e6..07ede1f 100644 --- a/docs/variables/bitCountryAlphaTestnet.html +++ b/docs/variables/bitCountryAlphaTestnet.html @@ -1 +1 @@ -bitCountryAlphaTestnet | @scio-labs/use-inkathon

Variable bitCountryAlphaTestnetConst

bitCountryAlphaTestnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +bitCountryAlphaTestnet | @scio-labs/use-inkathon

Variable bitCountryAlphaTestnetConst

bitCountryAlphaTestnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/development.html b/docs/variables/development.html index 362c4d6..829e61f 100644 --- a/docs/variables/development.html +++ b/docs/variables/development.html @@ -1,2 +1,2 @@ development | @scio-labs/use-inkathon

Variable developmentConst

development: SubstrateChain = ...

Local Development Network

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/khala.html b/docs/variables/khala.html index 3b3da1c..ceb1bef 100644 --- a/docs/variables/khala.html +++ b/docs/variables/khala.html @@ -1 +1 @@ -khala | @scio-labs/use-inkathon

Variable khalaConst

khala: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +khala | @scio-labs/use-inkathon

Variable khalaConst

khala: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/nightly.html b/docs/variables/nightly.html index 9990238..14e3d23 100644 --- a/docs/variables/nightly.html +++ b/docs/variables/nightly.html @@ -1 +1 @@ -nightly | @scio-labs/use-inkathon

Variable nightlyConst

nightly: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file +nightly | @scio-labs/use-inkathon

Variable nightlyConst

nightly: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/nightlyConnect.html b/docs/variables/nightlyConnect.html index 36d00c6..ddeb8c3 100644 --- a/docs/variables/nightlyConnect.html +++ b/docs/variables/nightlyConnect.html @@ -1 +1 @@ -nightlyConnect | @scio-labs/use-inkathon

Variable nightlyConnectConst

nightlyConnect: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file +nightlyConnect | @scio-labs/use-inkathon

Variable nightlyConnectConst

nightlyConnect: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/nova.html b/docs/variables/nova.html index d079c38..8f3da17 100644 --- a/docs/variables/nova.html +++ b/docs/variables/nova.html @@ -1 +1 @@ -nova | @scio-labs/use-inkathon

Variable novaConst

nova: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file +nova | @scio-labs/use-inkathon

Variable novaConst

nova: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/pendulum.html b/docs/variables/pendulum.html index 9a85dba..6fd6310 100644 --- a/docs/variables/pendulum.html +++ b/docs/variables/pendulum.html @@ -1 +1 @@ -pendulum | @scio-labs/use-inkathon

Variable pendulumConst

pendulum: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +pendulum | @scio-labs/use-inkathon

Variable pendulumConst

pendulum: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/phala.html b/docs/variables/phala.html index 90d2fb4..28c2bd9 100644 --- a/docs/variables/phala.html +++ b/docs/variables/phala.html @@ -1 +1 @@ -phala | @scio-labs/use-inkathon

Variable phalaConst

phala: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +phala | @scio-labs/use-inkathon

Variable phalaConst

phala: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/phalaPOC5Testnet.html b/docs/variables/phalaPOC5Testnet.html index f95f8d5..7ebd035 100644 --- a/docs/variables/phalaPOC5Testnet.html +++ b/docs/variables/phalaPOC5Testnet.html @@ -1 +1 @@ -phalaPOC5Testnet | @scio-labs/use-inkathon

Variable phalaPOC5TestnetConst

phalaPOC5Testnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +phalaPOC5Testnet | @scio-labs/use-inkathon

Variable phalaPOC5TestnetConst

phalaPOC5Testnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/polkadotjs.html b/docs/variables/polkadotjs.html index 9aff852..c0b046f 100644 --- a/docs/variables/polkadotjs.html +++ b/docs/variables/polkadotjs.html @@ -1,2 +1,2 @@ polkadotjs | @scio-labs/use-inkathon

Variable polkadotjsConst

polkadotjs: SubstrateWallet = ...

Defined Substrate Wallet Constants

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/psp22Abi.html b/docs/variables/psp22Abi.html index cff0518..9ba4f10 100644 --- a/docs/variables/psp22Abi.html +++ b/docs/variables/psp22Abi.html @@ -1 +1 @@ -psp22Abi | @scio-labs/use-inkathon

Variable psp22AbiConst

psp22Abi: Record<string, any> = ...

Generated using TypeDoc

\ No newline at end of file +psp22Abi | @scio-labs/use-inkathon

Variable psp22AbiConst

psp22Abi: Record<string, any> = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/rococo.html b/docs/variables/rococo.html index 25ba1f3..2eddb7c 100644 --- a/docs/variables/rococo.html +++ b/docs/variables/rococo.html @@ -1 +1 @@ -rococo | @scio-labs/use-inkathon

Variable rococoConst

rococo: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +rococo | @scio-labs/use-inkathon

Variable rococoConst

rococo: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/shibuya.html b/docs/variables/shibuya.html index 41178d7..6965127 100644 --- a/docs/variables/shibuya.html +++ b/docs/variables/shibuya.html @@ -1 +1 @@ -shibuya | @scio-labs/use-inkathon

Variable shibuyaConst

shibuya: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +shibuya | @scio-labs/use-inkathon

Variable shibuyaConst

shibuya: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/shiden.html b/docs/variables/shiden.html index 1d8bce4..381eb0e 100644 --- a/docs/variables/shiden.html +++ b/docs/variables/shiden.html @@ -1,2 +1,2 @@ shiden | @scio-labs/use-inkathon

Variable shidenConst

shiden: SubstrateChain = ...

Live Canary Networks

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/subwallet.html b/docs/variables/subwallet.html index 2b3c933..7e716a6 100644 --- a/docs/variables/subwallet.html +++ b/docs/variables/subwallet.html @@ -1 +1 @@ -subwallet | @scio-labs/use-inkathon

Variable subwalletConst

subwallet: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file +subwallet | @scio-labs/use-inkathon

Variable subwalletConst

subwallet: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/t0rnTestnet.html b/docs/variables/t0rnTestnet.html index 3db1b58..ce2ddc7 100644 --- a/docs/variables/t0rnTestnet.html +++ b/docs/variables/t0rnTestnet.html @@ -1 +1 @@ -t0rnTestnet | @scio-labs/use-inkathon

Variable t0rnTestnetConst

t0rnTestnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file +t0rnTestnet | @scio-labs/use-inkathon

Variable t0rnTestnetConst

t0rnTestnet: SubstrateChain = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/talisman.html b/docs/variables/talisman.html index 9454e1b..ed5033a 100644 --- a/docs/variables/talisman.html +++ b/docs/variables/talisman.html @@ -1 +1 @@ -talisman | @scio-labs/use-inkathon

Variable talismanConst

talisman: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file +talisman | @scio-labs/use-inkathon

Variable talismanConst

talisman: SubstrateWallet = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/package.json b/package.json index 560d20c..8480650 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@scio-labs/use-inkathon", "author": "Scio Labs (https://scio.xyz)", - "version": "0.6.0", + "version": "0.6.1", "description": "Typesafe React Hooks abstracting functionality by polkadot.js for working with Substrate-based networks and ink! Smart Contracts.", "homepage": "https://inkathon.xyz", "license": "GPL-3.0",