Provider: { get accountName(): string; get address(): string; get providerName(): string; balance(final): Promise<bigint>; buyRolls(amount,
opts?): Promise<Operation>; callSC(params): Promise<Operation>; deploySC(params): Promise<SmartContract>; getEvents(filter): Promise<SCEvent[]>; getNodeStatus(): Promise<NodeStatusInfo>; getOperationStatus(opId): Promise<OperationStatus>; getStorageKeys(address,
filter,
final?): Promise<Uint8Array[]>; networkInfos(): Promise<Network>; readSC(params): Promise<ReadSCData>; readStorage(address,
keys,
final?): Promise<Uint8Array[]>; sellRolls(amount,
opts?): Promise<Operation>; sign(data): Promise<SignedData>; transfer(to,
amount,
opts?): Promise<Operation>; } Type declaration
get accountName(): string
get address(): string
get providerName(): string
balance:function
- balance(final): Promise<bigint>
Returns Promise<bigint>
buyRolls:function
callSC:function
deploySC:function
getEvents:function
getNodeStatus:function
getOperationStatus:function
getStorageKeys:function
- getStorageKeys(address, filter, final?): Promise<Uint8Array[]>
Parameters
- address: string
- filter: string | Uint8Array
Optional
final: boolean
Returns Promise<Uint8Array[]>
networkInfos:function
readSC:function
readStorage:function
- readStorage(address, keys, final?): Promise<Uint8Array[]>
Parameters
- address: string
- keys: string[] | Uint8Array[]
Optional
final: boolean
Returns Promise<Uint8Array[]>
sellRolls:function
sign:function
- sign(data): Promise<SignedData>
Parameters
- data: string | Uint8Array | Buffer
transfer:function
- transfer(to, amount, opts?): Promise<Operation>
Defines the expected structure for a provider.