@gala-chain/test ∙ API
API > TestClients
Variable: TestClients
const
TestClients:object
Type declaration
create
create: (
user
?) =>Promise
\<ChainClients
\<DefaultChainClientOptions
>>\<T
>(user
?,opts
?) =>Promise
\<ChainClients
\<T
>>\<T
>(opts
) =>Promise
\<ChainClients
\<T
>>
Parameters
▪ user?: string
| ChainUser
Type parameters
▪ T extends ChainClientOptions
Parameters
▪ user?: string
| ChainUser
▪ opts?: T
Type parameters
▪ T extends ChainClientOptions
Parameters
▪ opts: T
createForAdmin
createForAdmin: \<
T
>(opts
?) =>Promise
\<AdminChainClients
\<T
>>
Type parameters
▪ T extends ChainClientOptions
Parameters
▪ opts?: T