This week, I have two new pull request for Steemit, Inc. to merge:
canonical_url points to the original article.e30d88aI've stubbed the initial documentation for the SMT API Definitions. Right now, it only includes the structure of the queries and broadcast operation, although I'm adding any useful comments I find in the source as I go. Here are the methods we now have on the testnet. I'm highlighting them here with the testnet node, but they're also going into the commit for production (note, I'm piping to jq, which you can get with apt-get install jq):
database_api.find_smt_contributionscurl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.find_smt_contributions",
"params": {"symbol_contributors": []},
"id": 1
}' https://testnet.steemitdev.com | jq
database_api.find_smt_token_emissionscurl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.find_smt_token_emissions",
"params": {"asset_symbol":{"nai":"@@000000000","decimals":0}},
"id": 1
}' https://testnet.steemitdev.com | jq
database_api.find_smt_tokenscurl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.find_smt_tokens",
"params": {"symbols":[],"ignore_precision":false},
"id":1
}' https://testnet.steemitdev.com | jq
database_api. get_nai_poolcurl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.get_nai_pool",
"params": {},
"id":1
}' https://testnet.steemitdev.com | jq
database_api.list_smt_contributionscurl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.list_smt_contributions",
"params": {"start":[],"limit":10,"order":"by_symbol_contributor"},
"id":1
}' https://testnet.steemitdev.com | jq
database_api.list_smt_token_emissionscurl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.list_smt_token_emissions",
"params": {"start":[],"limit":10,"order":"by_symbol_time"},
"id":1
}' https://testnet.steemitdev.com | jq
database_api.list_smt_tokenscurl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.list_smt_tokens",
"params":{"start":{},"limit":10,"order":"by_symbol"},
"id":1
}' https://testnet.steemitdev.com | jq