Properties
connector
connector: Connector
lastStatus
lastStatus: NodeStatus
Methods
executeMultipleGetAddressesBytecode
- executeMultipleGetAddressesBytecode(addressFilters): Promise<string[]>
Parameters
- addressFilters: AddressFilter[]
Returns Promise<string[]>
executeMultipleReadOnlyBytecode
- executeMultipleReadOnlyBytecode(readOnlyBytecodeExecutions): Promise<ExecuteReadOnlyResponse[]>
Parameters
- readOnlyBytecodeExecutions: ReadOnlyBytecodeExecution[]
Returns Promise<ExecuteReadOnlyResponse[]>
executeMultipleReadOnlyCall
- executeMultipleReadOnlyCall(readOnlyCalls): Promise<ExecuteReadOnlyResponse[]>
Parameters
- readOnlyCalls: ReadOnlyCall[]
Returns Promise<ExecuteReadOnlyResponse[]>
executeReadOnlyBytecode
- executeReadOnlyBytecode(readOnlyBytecodeExecution): Promise<ExecuteReadOnlyResponse>
Parameters
- readOnlyBytecodeExecution: ReadOnlyBytecodeExecution
Returns Promise<ExecuteReadOnlyResponse>
fetchPeriod
- fetchPeriod(): Promise<number>
Returns Promise<number>
getAddressInfo
- getAddressInfo(address): Promise<AddressInfo>
Returns Promise<AddressInfo>
getAddressesBytecode
- getAddressesBytecode(addressFilter): Promise<string>
Parameters
- addressFilter: AddressFilter
Returns Promise<string>
getBalance
- getBalance(address, final?): Promise<bigint>
Parameters
- address: string
- final: boolean = true
Returns Promise<bigint>
getBlock
- getBlock(blockId): Promise<BlockInfo>
Returns Promise<BlockInfo>
getBlockcliqueBlock
- getBlockcliqueBlock(slot): Promise<Block>
Returns Promise<Block>
getChainId
- getChainId(): Promise<bigint>
Returns Promise<bigint>
getCliques
- getCliques(): Promise<Clique[]>
Returns Promise<Clique[]>
getCurrentSlot
- getCurrentSlot(): Promise<Slot>
Returns Promise<Slot>
getDataStoreKeys
- getDataStoreKeys(contract, filter?, final?): Promise<Uint8Array[]>
Parameters
- contract: string
- filter: Uint8Array = ...
- final: boolean = true
Returns Promise<Uint8Array[]>
getDatastoreEntries
- getDatastoreEntries(inputs, final?): Promise<Uint8Array[]>
Returns Promise<Uint8Array[]>
getDatastoreEntry
- getDatastoreEntry(key, address, final?): Promise<Uint8Array>
Parameters
- key: string | Uint8Array
- address: string
- final: boolean = true
Returns Promise<Uint8Array>
getEndorsement
- getEndorsement(endorsementId): Promise<EndorsementInfo>
Returns Promise<EndorsementInfo>
getEvents
- getEvents(filter): Promise<SCOutputEvent[]>
Returns Promise<SCOutputEvent[]>
getGraphInterval
- getGraphInterval(start?, end?): Promise<GraphInterval[]>
Parameters
Optional
start: numberOptional
end: number
Returns Promise<GraphInterval[]>
getMinimalFee
- getMinimalFee(): Promise<bigint>
Returns Promise<bigint>
getMultipleAddressInfo
- getMultipleAddressInfo(addresses): Promise<AddressInfo[]>
Returns Promise<AddressInfo[]>
getMultipleBlocks
- getMultipleBlocks(blockIds): Promise<BlockInfo[]>
Returns Promise<BlockInfo[]>
getMultipleEndorsements
- getMultipleEndorsements(endorsementIds): Promise<EndorsementInfo[]>
Returns Promise<EndorsementInfo[]>
getMultipleSlotTransfers
- getMultipleSlotTransfers(slots): Promise<Transfer[][]>
Returns Promise<Transfer[][]>
getOperation
- getOperation(operationId): Promise<OperationInfo>
Returns Promise<OperationInfo>
getOperations
- getOperations(operationIds): Promise<OperationInfo[]>
Returns Promise<OperationInfo[]>
getSlotTransfers
- getSlotTransfers(slot): Promise<Transfer[]>
Returns Promise<Transfer[]>
getStakers
- getStakers(pagination): Promise<Staker[]>
Returns Promise<Staker[]>
sendMultipleOperations
- sendMultipleOperations(data): Promise<string[]>
Returns Promise<string[]>
sendOperation
- sendOperation(data): Promise<string>
Returns Promise<string>
sendOperations
- sendOperations(data): Promise<string[]>
Returns Promise<string[]>
status
- status(): Promise<NodeStatus>
Returns Promise<NodeStatus>
Static
Private
convertOperationInput
- convertOperationInput(data): OperationInput
Returns OperationInput