1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-06-26 03:06:42 +02:00

Update API.md

This commit is contained in:
Tim Daubenschütz 2017-05-14 20:06:56 +02:00
parent 8f778f4c97
commit 432d45b455

32
API.md
View File

@ -14,8 +14,8 @@
- [ccJsonLoad](#ccjsonload) - [ccJsonLoad](#ccjsonload)
- [ccJsonify](#ccjsonify) - [ccJsonify](#ccjsonify)
- [getBlock](#getblock) - [getBlock](#getblock)
- [getTransaction](#gettransaction)
- [getStatus](#getstatus) - [getStatus](#getstatus)
- [getTransaction](#gettransaction)
- [listBlocks](#listblocks) - [listBlocks](#listblocks)
- [listOutputs](#listoutputs) - [listOutputs](#listoutputs)
- [listTransactions](#listtransactions) - [listTransactions](#listtransactions)
@ -148,27 +148,25 @@ Returns **cc.Condition** Ed25519 Condition (that will need to wrapped in an Outp
Returns **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Ed25519 Condition (that will need to wrapped in an Output) Returns **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Ed25519 Condition (that will need to wrapped in an Output)
## Connection ## getBlock
### getBlock
**Parameters** **Parameters**
- `blockId` - `blockId`
### getTransaction ## getStatus
**Parameters**
- `txId`
### getStatus
**Parameters** **Parameters**
- `tx_id` - `tx_id`
### listBlocks ## getTransaction
**Parameters**
- `txId`
## listBlocks
**Parameters** **Parameters**
@ -178,7 +176,7 @@ Returns **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refer
- `tx_id` - `tx_id`
- `status` - `status`
### listOutputs ## listOutputs
**Parameters** **Parameters**
@ -189,7 +187,7 @@ Returns **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refer
- `public_key` - `public_key`
- `unspent` - `unspent`
### listTransactions ## listTransactions
**Parameters** **Parameters**
@ -199,13 +197,13 @@ Returns **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refer
- `asset_id` - `asset_id`
- `operation` - `operation`
### listVotes ## listVotes
**Parameters** **Parameters**
- `block_id` - `block_id`
### pollStatusAndFetchTransaction ## pollStatusAndFetchTransaction
**Parameters** **Parameters**
@ -213,7 +211,7 @@ Returns **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refer
Returns **[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)** Returns **[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)**
### postTransaction ## postTransaction
**Parameters** **Parameters**