Skip to main content
Version: 5.24.3

Namespace: provider

Functions​

wait​

â–¸ wait(delay): Promise<unknown>

Helper - Async Sleep for 'delay' time

Parameters​

NameType
delaynumber

Returns​

Promise<unknown>

Defined in​

src/utils/provider.ts:16


createSierraContractClass​

â–¸ createSierraContractClass(contract): SierraContractClass

Create Sierra Contract Class from a given Compiled Sierra

CompiledSierra -> SierraContractClass

Parameters​

NameType
contractCompiledSierra

Returns​

SierraContractClass

Defined in​

src/utils/provider.ts:27


parseContract​

â–¸ parseContract(contract): ContractClass

Create Contract Class from a given CompiledContract or string

(CompiledContract or string) -> ContractClass

Parameters​

NameType
contractstring | CompiledContract

Returns​

ContractClass

Defined in​

src/utils/provider.ts:41