1.3.8 • Published 4 years ago
bif-tool-subscriptions v1.3.8
web3-core-subscriptions
tus]deps-image]deps-url
]deps-dev-url
This is a sub-package of web3.js
This subscriptions package is used within some web3.js packages.
Please read the documentation for more.
Installation
Node.js
npm install web3-core-subscriptions
Usage
const Web3Subscriptions = require('web3-core-subscriptions');
const sub = new Web3Subscriptions({
name: 'subscribe',
type: 'eth',
subscriptions: {
'newBlockHeaders': {
subscriptionName: 'newHeads',
params: 0,
outputFormatter: formatters.outputBlockFormatter
},
'pendingTransactions': {
params: 0,
outputFormatter: formatters.outputTransactionFormatter
}
}
});
sub.attachToObject(myCoolLib);
myCoolLib.subscribe('newBlockHeaders', function(){ ... });
1.3.8
4 years ago
1.3.4
5 years ago
1.3.3
5 years ago
2.3.3
6 years ago
2.3.2
6 years ago
2.3.0
6 years ago
2.2.5
6 years ago
2.2.4
6 years ago
2.2.3
6 years ago
2.2.2
6 years ago
2.2.1
6 years ago
2.2.0
6 years ago
2.1.12
6 years ago
2.1.11
6 years ago
2.1.8
6 years ago
2.1.7
6 years ago
2.1.6
6 years ago
2.1.5
6 years ago
2.1.4
6 years ago
2.1.3
6 years ago
2.1.2
6 years ago
2.1.1
6 years ago
2.1.0
6 years ago
2.0.2
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago