id | title |
---|---|
api-documentation |
API Documentation |
public func all(limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Blocks.
Type | Name | Required | Description |
---|---|---|---|
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func get(id: String, completionHandler: @escaping ([String: Any]?)
Retrieve a Block
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Block ID |
String | completionHandler | No | Query parameters |
Void
public func transactions(ofBlock id: String, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Transactions of a Block
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Block ID |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func search(body: [String: Any]?, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
Search All Blocks
Type | Name | Required | Description |
---|---|---|---|
String | body | Yes | Search parameters |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func all(limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Delegates
Type | Name | Required | Description |
---|---|---|---|
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func get(byName id: String, completionHandler: @escaping ([String: Any]?)
Retrieve a Delegate
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | id can be one of: Username, Address or Public Key |
String | completionHandler | No | Query parameters |
Void
public func blocks(byName id: String, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Blocks of a Delegate
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | id can be one of: Username, Address or Public Key |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func voters(byName id: String, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Voters of a Delegate
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | id can be one of: Username, Address or Public Key |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
<class Void>
public func configuration(completionHandler: @escaping ([String: Any]?)
Retrieve the Configuration
Void
public func status(completionHandler: @escaping ([String: Any]?)
Retrieve the Status
Void
public func syncing(completionHandler: @escaping ([String: Any]?)
Retrieve the Syncing Status
Void
public func fees(completionHandler: @escaping ([String: Any]?)
Retrieve the Fees
Void
public func all(limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Peers
Type | Name | Required | Description |
---|---|---|---|
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func status(ip: String, completionHandler: @escaping ([String: Any]?)
Retrive a Peer
Type | Name | Required | Description |
---|---|---|---|
String | ip | Yes | IP address |
String | completionHandler | No | Query parameters |
Void
public func create(body: [String: Any]?, completionHandler: @escaping ([String: Any]?)
Create a Transaction
Type | Name | Required | Description |
---|---|---|---|
String | body | Yes | Search parameters |
String | completionHandler | No | Query parameters |
Void
public func get(id: String, completionHandler: @escaping ([String: Any]?)
Retrieve a Transaction
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Transaction ID |
String | completionHandler | No | Query parameters |
Void
public func all(limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Transactions
Type | Name | Required | Description |
---|---|---|---|
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func allUnconfirmed(limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Unconfirmed Transactions
Type | Name | Required | Description |
---|---|---|---|
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func getUnconfirmed(id: String, completionHandler: @escaping ([String: Any]?)
Get Unconfirmed Transaction
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Transaction ID |
String | completionHandler | No | Query parameters |
Void
public func search(body: [String: Any]?, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
Search Transactions
Type | Name | Required | Description |
---|---|---|---|
String | body | Yes | Search parameters |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func types(completionHandler: @escaping ([String: Any]?)
List Transaction Types
Type | Name | Required | Description |
---|---|---|---|
String | completionHandler | No | Query parameters |
Void
public func all(limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Votes
Type | Name | Required | Description |
---|---|---|---|
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func get(id: String, completionHandler: @escaping ([String: Any]?)
Retrieve a Vote
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Vote ID |
String | completionHandler | No | Query parameters |
Void
public func all(limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
Retrieve All Wallets
Type | Name | Required | Description |
---|---|---|---|
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func get(byName id: String, completionHandler: @escaping ([String: Any]?)
Retrieve a Wallet
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | id can be one of: Username, Address or Public Key |
String | completionHandler | No | Query parameters |
Void
public func transactions(byName id: String, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Wallet identifier |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func receivedTransactions(byName id: String, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Received Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Wallet identifier |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func sentTransactions(byName id: String, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Sent Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Wallet identifier |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func votes(byName id: String, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
List All Votes of a Wallet
Type | Name | Required | Description |
---|---|---|---|
String | id | Yes | Wallet identifier |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func top(limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?) -> Void)
List All Top Wallets
Type | Name | Required | Description |
---|---|---|---|
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void
public func search(body: [String: Any]?, limit: Int = 100, page: Int = 1, completionHandler: @escaping ([String: Any]?)
Search All Wallets
Type | Name | Required | Description |
---|---|---|---|
String | body | Yes | Search parameters |
Int | limit | No | Limit of results |
Int | page | No | Pagination |
String | completionHandler | No | Query parameters |
Void