Changes
Page history
Update generated documentation
authored
May 16, 2024
by
Mateusz Tyszczak
Hide whitespace changes
Inline
Side-by-side
interfaces/IQueenBee.md
0 → 100644
View page @
29308c1e
[
@hiveio/workerbee
](
../globals.md
)
/ IQueenBee
# Interface: IQueenBee
## Methods
### accountFullManabar()
> **accountFullManabar**(`name`): `Subscribable`\<`ApiAccount`\>
Observes given account and notifies when its manabar is 98 percent loaded
Note: This function will be called on every new block detected if manabar is full on every new block
#### Parameters
•
**name**
:
`string`
account name to observe
#### Returns
`Subscribable`
\<
`ApiAccount`
\>
subscribable object that will call
`next`
each time time its manabar is 98 percent loaded
#### Source
src/interfaces.ts:62
***
### accountOperations()
> **accountOperations**(`name`): `Subscribable`\<[`IOperationData`](./IOperationData)\>
Observes given account and notifies when new operation in blockchain related to the given account is detected (no virtual operations for now)
#### Parameters
•
**name**
:
`string`
account name to observe
#### Returns
`Subscribable`
\<
[
`IOperationData`
](
./IOperationData
)
\>
subscribable object that will call
`next`
on every operation related to the given account
#### Source
src/interfaces.ts:53
***
### block()
#### block(blockId)
> **block**(`blockId`): `Subscribable`\<[`IBlockData`](./IBlockData)\>
Observes block with given id and notifies on its detection
##### Parameters
•
**blockId**
:
`string`
block id to observe
##### Returns
`Subscribable`
\<
[
`IBlockData`
](
./IBlockData
)
\>
subscribable object that will call
`next`
only once and completes
##### Source
src/interfaces.ts:30
#### block(blockNumber)
> **block**(`blockNumber`): `Subscribable`\<[`IBlockData`](./IBlockData)\>
Observes block with given number and notifies on its detection
##### Parameters
•
**blockNumber**
:
`number`
block number to observe
##### Returns
`Subscribable`
\<
[
`IBlockData`
](
./IBlockData
)
\>
subscribable object that will call
`next`
only once and completes
##### Source
src/interfaces.ts:37
***
### transaction()
> **transaction**(`transactionId`): `Subscribable`\<[`ITransactionData`](./ITransactionData)\>
Observes transaction with given id and notifies on its detection
#### Parameters
•
**transactionId**
:
`string`
transaction id to observe
#### Returns
`Subscribable`
\<
[
`ITransactionData`
](
./ITransactionData
)
\>
subscribable object that will call
`next`
only once and completes
#### Source
src/interfaces.ts:45