Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hive-js
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hive-js
Commits
7fef3f82
Commit
7fef3f82
authored
8 years ago
by
adcpm
Browse files
Options
Downloads
Patches
Plain Diff
Change README
parent
5094a952
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+122
-122
122 additions, 122 deletions
README.md
with
122 additions
and
122 deletions
README.md
+
122
−
122
View file @
7fef3f82
...
...
@@ -12,390 +12,390 @@ $ npm install steem --save
var
Steem
=
require
(
'
steem
'
);
var
steem
=
new
Steem
();
steem
.
getAccounts
([
'
ned
'
,
'
dan
'
],
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getAccounts
([
'
ned
'
,
'
dan
'
],
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Subscriptions
### Set Subscribe Callback
```
js
steem
.
setSubscribeCallback
(
cb
,
clearFilter
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
setSubscribeCallback
(
cb
,
clearFilter
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Set Pending Transaction Callback
```
js
steem
.
setPendingTransactionCallback
(
cb
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
setPendingTransactionCallback
(
cb
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Set Block Applied Callback
```
js
steem
.
setBlockAppliedCallback
(
cb
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
setBlockAppliedCallback
(
cb
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Cancel All Subscriptions
```
js
steem
.
cancelAllSubscriptions
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
cancelAllSubscriptions
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Tags
### Get Trending Tags
```
js
steem
.
getTrendingTags
(
afterTag
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getTrendingTags
(
afterTag
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussions By Trending
```
js
steem
.
getDiscussionsByTrending
(
query
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByTrending
(
query
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussions By Created
```
js
steem
.
getDiscussionsByCreated
(
query
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByCreated
(
query
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussions By Active
```
js
steem
.
getDiscussionsByActive
(
query
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByActive
(
query
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussions By Cashout
```
js
steem
.
getDiscussionsByCashout
(
query
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByCashout
(
query
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussions By Payout
```
js
steem
.
getDiscussionsByPayout
(
query
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByPayout
(
query
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussions By Votes
```
js
steem
.
getDiscussionsByVotes
(
query
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByVotes
(
query
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussions By Children
```
js
steem
.
getDiscussionsByChildren
(
query
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByChildren
(
query
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussions By Hot
```
js
steem
.
getDiscussionsByHot
(
query
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByHot
(
query
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Blocks And Transactions
### Get Block Header
```
js
steem
.
getBlockHeader
(
blockNum
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getBlockHeader
(
blockNum
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Block
```
js
steem
.
getBlock
(
blockNum
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getBlock
(
blockNum
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get State
```
js
steem
.
getState
(
path
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getState
(
path
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Trending Categories
```
js
steem
.
getTrendingCategories
(
after
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getTrendingCategories
(
after
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Best Categories
```
js
steem
.
getBestCategories
(
after
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getBestCategories
(
after
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Active Categories
```
js
steem
.
getActiveCategories
(
after
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getActiveCategories
(
after
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Recent Categories
```
js
steem
.
getRecentCategories
(
after
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getRecentCategories
(
after
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Globals
### Get Config
```
js
steem
.
getConfig
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getConfig
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Dynamic Global Properties
```
js
steem
.
getDynamicGlobalProperties
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDynamicGlobalProperties
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Chain Properties
```
js
steem
.
getChainProperties
(
after
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getChainProperties
(
after
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Feed History
```
js
steem
.
getFeedHistory
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getFeedHistory
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Current Median History Price
```
js
steem
.
getCurrentMedianHistoryPrice
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getCurrentMedianHistoryPrice
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Witness Schedule
```
js
steem
.
getWitnessSchedule
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getWitnessSchedule
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Hardfork Version
```
js
steem
.
getHardforkVersion
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getHardforkVersion
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Next Scheduled Hardfork
```
js
steem
.
getNextScheduledHardfork
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getNextScheduledHardfork
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Keys
### Get Key References
```
js
steem
.
getKeyReferences
(
key
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getKeyReferences
(
key
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Accounts
### Get Accounts
```
js
steem
.
getAccounts
(
names
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getAccounts
(
names
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Account References
```
js
steem
.
getAccountReferences
(
accountId
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getAccountReferences
(
accountId
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Lookup Account Names
```
js
steem
.
lookupAccountNames
(
accountNames
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
lookupAccountNames
(
accountNames
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Lookup Accounts
```
js
steem
.
lookupAccounts
(
lowerBoundName
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
lookupAccounts
(
lowerBoundName
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Account Count
```
js
steem
.
getAccountCount
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getAccountCount
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Conversion Requests
```
js
steem
.
getConversionRequests
(
accountName
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getConversionRequests
(
accountName
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Account History
```
js
steem
.
getAccountHistory
(
account
,
from
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getAccountHistory
(
account
,
from
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Owner History
```
js
steem
.
getOwnerHistory
(
account
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getOwnerHistory
(
account
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Recovery Request
```
js
steem
.
getRecoveryRequest
(
account
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getRecoveryRequest
(
account
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Market
### Get Order Book
```
js
steem
.
getOrderBook
(
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getOrderBook
(
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Open Orders
```
js
steem
.
getOpenOrders
(
owner
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getOpenOrders
(
owner
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Liquidity Queue
```
js
steem
.
getLiquidityQueue
(
startAccount
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getLiquidityQueue
(
startAccount
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Authority / Validation
### Get Transaction Hex
```
js
steem
.
getTransactionHex
(
trx
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getTransactionHex
(
trx
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Transaction
```
js
steem
.
getTransaction
(
trxId
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getTransaction
(
trxId
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Required Signatures
```
js
steem
.
getRequiredSignatures
(
trx
,
availableKeys
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getRequiredSignatures
(
trx
,
availableKeys
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Potential Signatures
```
js
steem
.
getPotentialSignatures
(
trx
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getPotentialSignatures
(
trx
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Verify Authority
```
js
steem
.
verifyAuthority
(
trx
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
verifyAuthority
(
trx
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Verify Account Authority
```
js
steem
.
verifyAccountAuthority
(
nameOrId
,
signers
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
verifyAccountAuthority
(
nameOrId
,
signers
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Votes
### Get Active Votes
```
js
steem
.
getActiveVotes
(
author
,
permlink
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getActiveVotes
(
author
,
permlink
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Account Votes
```
js
steem
.
getAccountVotes
(
voter
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getAccountVotes
(
voter
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Content
### Get Content
```
js
steem
.
getContent
(
author
,
permlink
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getContent
(
author
,
permlink
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Content Replies
```
js
steem
.
getContentReplies
(
parent
,
parentPermlink
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getContentReplies
(
parent
,
parentPermlink
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Discussion By Author Before Date
```
js
steem
.
getDiscussionsByAuthorBeforeDate
(
author
,
startPermlink
,
beforeDate
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getDiscussionsByAuthorBeforeDate
(
author
,
startPermlink
,
beforeDate
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Replies By Last Update
```
js
steem
.
getRepliesByLastUpdate
(
startAuthor
,
startPermlink
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getRepliesByLastUpdate
(
startAuthor
,
startPermlink
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
## Witnesses
### Get Witnesses
```
js
steem
.
getWitnesses
(
witnessIds
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getWitnesses
(
witnessIds
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Witness By Account
```
js
steem
.
getWitnessByAccount
(
accountName
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getWitnessByAccount
(
accountName
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Witnesses By Vote
```
js
steem
.
getWitnessesByVote
(
from
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getWitnessesByVote
(
from
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Lookup Witness Accounts
```
js
steem
.
lookupWitnessAccounts
(
lowerBoundName
,
limit
,
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
lookupWitnessAccounts
(
lowerBoundName
,
limit
,
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Witness Count
```
js
steem
.
getWitnessCount
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getWitnessCount
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Active Witnesses
```
js
steem
.
getActiveWitnesses
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getActiveWitnesses
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
### Get Miner Queue
```
js
steem
.
getMinerQueue
(
function
(
result
,
err
)
{
console
.
log
(
result
,
err
);
steem
.
getMinerQueue
(
function
(
err
,
result
)
{
console
.
log
(
err
,
result
);
});
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment