OSDN Git Service

add number to index.md
[bytom/bytom-java-sdk.git] / doc / index.md
index 90d4ca5..4e9c657 100644 (file)
@@ -127,7 +127,7 @@ Transaction.SubmitResponse txs = Transaction.submit(client, singer);
 ## Key API
 
 
-#### createKey
+#### 1.createKey
 
 ```java
 Key create(Client client, Builder builder);
@@ -144,7 +144,7 @@ Key create(Client client, Builder builder);
 
 ----
 
-#### listKeys
+#### 2.listKeys
 
 ```java
 List<Key> list(Client client);
@@ -160,7 +160,7 @@ List<Key> list(Client client);
 
 ----
 
-#### deleteKey
+#### 3.deleteKey
 
 ```java
 void delete(Client client, String xpub, String password);
@@ -178,7 +178,7 @@ none if the key is deleted successfully.
 
 ----
 
-#### resetKeyPassword
+#### 4.resetKeyPassword
 
 ```java
 void resetPwd(Client client, String xpub, String oldPwd, String newPwd);
@@ -199,7 +199,7 @@ none if the key password is reset successfully.
 ## Account API
 
 
-#### createAccount
+#### 1.createAccount
 
 ```java
 Account create(Client client, Builder builder);
@@ -215,7 +215,7 @@ Account create(Client client, Builder builder);
 
 ----
 
-#### listAccounts
+#### 2.listAccounts
 
 ```java
 List<Account> list(Client client);
@@ -231,7 +231,7 @@ List<Account> list(Client client);
 
 ----
 
-#### deleteAccount
+#### 3.deleteAccount
 
 ```java
 void delete(Client client, String account_info);
@@ -248,7 +248,7 @@ none if the account is deleted successfully.
 
 ----
 
-#### createAccountReceiver
+#### 4.createAccountReceiver
 
 ```java
 Receiver create(Client client);
@@ -265,7 +265,7 @@ Receiver create(Client client);
 
 ----
 
-#### listAddresses
+#### 5.listAddresses
 
 ```java
 List<Address> list(Client client);
@@ -281,7 +281,7 @@ List<Address> list(Client client);
 
 ----
 
-#### validateAddress
+#### 6.validateAddress
 
 ```java
 Address validate(Client client, String address);
@@ -300,7 +300,7 @@ Address validate(Client client, String address);
 ## Asset API
 
 
-#### createAsset
+#### 1.createAsset
 
 ```java
 Asset create(Client client);
@@ -316,7 +316,7 @@ Asset create(Client client);
 
 ----
 
-#### getAsset
+#### 2.getAsset
 
 ```java
 Asset get(Client client);
@@ -332,7 +332,7 @@ Asset get(Client client);
 
 ----
 
-#### listAssets
+#### 3.listAssets
 
 ```java
 List<Asset> list(Client client);
@@ -348,7 +348,7 @@ List<Asset> list(Client client);
 
 ----
 
-#### updateAssetAlias
+#### 4.updateAssetAlias
 
 ```java
 void update(Client client);
@@ -364,7 +364,7 @@ none if the asset alias is updated success.
 
 ----
 
-#### listBalances
+#### 5.listBalances
 
 ```java
 List<Balance> list(Client client);
@@ -380,7 +380,7 @@ List<Balance> list(Client client);
 
 ----
 
-#### listUnspentOutPuts
+#### 6.listUnspentOutPuts
 
 ```java
 List<UnspentOutput> list(Client client);
@@ -398,7 +398,7 @@ List<UnspentOutput> list(Client client);
 ## Transaction API
 
 
-#### buildTransaction
+#### 1.buildTransaction
 
 ```java
 Template build(Client client);
@@ -414,7 +414,7 @@ Template build(Client client);
 
 ----
 
-#### signTransaction
+#### 2.signTransaction
 
 ```java
 Template sign(Client client, Template template, String password);
@@ -434,7 +434,7 @@ Template sign(Client client, Template template, String password);
 
 ----
 
-#### submitTransaction
+#### 3.submitTransaction
 
 ```java
 SubmitResponse submit(Client client, Template template);
@@ -451,7 +451,7 @@ SubmitResponse submit(Client client, Template template);
 
 ----
 
-#### estimateTransactionGas
+#### 4.estimateTransactionGas
 
 ```java
 TransactionGas estimateGas(Client client, Template template);
@@ -468,7 +468,7 @@ TransactionGas estimateGas(Client client, Template template);
 
 ----
 
-#### getTransaction
+#### 5.getTransaction
 
 ```java
 Transaction get(Client client);
@@ -484,7 +484,7 @@ Transaction get(Client client);
 
 ----
 
-#### listTransactions
+#### 6.listTransactions
 
 ```java
 List<Transaction> list(Client client);
@@ -507,7 +507,7 @@ List<Transaction> transactionList = new Transaction.QueryBuilder().list(client);
 
 ----
 
-#### listTransactionsById
+#### 7.listTransactionsById
 
 ```java
 List<Transaction> listById(Client client);
@@ -531,7 +531,7 @@ List<Transaction> transactionList = new Transaction.QueryBuilder().setTxId(tx_id
 
 ----
 
-#### listTransactionsByAccountId
+#### 8.listTransactionsByAccountId
 
 ```java
 List<Transaction> listByAccountId(Client client);
@@ -556,7 +556,7 @@ List<Transaction> transactionList = new Transaction.QueryBuilder().setAccountId(
 ## Wallet API
 
 
-#### backupWallet
+#### 1.backupWallet
 
 ```java
 Wallet backupWallet(Client client);
@@ -572,7 +572,7 @@ Wallet backupWallet(Client client);
 
 ----
 
-#### restoreWallet
+#### 2.restoreWallet
 
 ```java
 void restoreWallet(Client client ,Object accountImage, Object assetImage , Object keyImages);
@@ -603,7 +603,7 @@ String secret = "5e37378eb59de6b10e60f2247ebf71c4955002e75e0cd31ede3bf48813a0a79
 AccessToken.check(client, "sheng", secret);
 ```
 
-#### createAccessToken
+#### 1.createAccessToken
 
 ```java
 AccessToken create(Client client);
@@ -619,7 +619,7 @@ AccessToken create(Client client);
 
 ----
 
-#### listAccessTokens
+#### 2.listAccessTokens
 
 ```java
 List<AccessToken> list(Client client);
@@ -635,7 +635,7 @@ List<AccessToken> list(Client client);
 
 ----
 
-#### deleteAccessToken
+#### 3.deleteAccessToken
 
 ```java
 void delete(Client client, String id);
@@ -652,7 +652,7 @@ none if the access token is deleted successfully.
 
 ----
 
-#### checkAccessToken
+#### 4.checkAccessToken
 
 ```java
 void check(Client client, String id, String secret);
@@ -672,7 +672,7 @@ none if the access token is checked valid.
 ## Block API
 
 
-#### getBlockCount
+#### 1.getBlockCount
 
 ```java
 Integer getBlockCount(Client client);
@@ -688,7 +688,7 @@ none
 
 ----
 
-#### getBlockHash
+#### 2.getBlockHash
 
 ```java
 String getBlockHash(Client client);
@@ -704,8 +704,8 @@ none
 
 ----
 
-#### getBlock
-```php
+#### 3.getBlock
+```java
 Block getBlock(Client client);
 ```
 
@@ -719,7 +719,7 @@ Block getBlock(Client client);
 
 ----
 
-#### getBlockHeader
+#### 4.getBlockHeader
 
 ```java
 BlockHeader getBlockHeader(Client client);
@@ -735,7 +735,7 @@ BlockHeader getBlockHeader(Client client);
 
 ----
 
-#### getDifficulty
+#### 5.getDifficulty
 
 ```java
 BlockDifficulty getBlockDifficulty(Client client);
@@ -751,7 +751,7 @@ BlockDifficulty getBlockDifficulty(Client client);
 
 ----
 
-#### getHashRate
+#### 6.getHashRate
 
 ```java
 BlockHashRate getHashRate(Client client);
@@ -769,7 +769,7 @@ BlockHashRate getHashRate(Client client);
 ## Other API
 
 
-#### netInfo
+#### 1.netInfo
 
 ```java
 NetInfo getNetInfo(Client client);
@@ -785,7 +785,7 @@ NetInfo getNetInfo(Client client);
 
 ----
 
-#### gasRate
+#### 2.gasRate
 
 ```java
 Gas gasRate(Client client);
@@ -801,7 +801,7 @@ Gas gasRate(Client client);
 
 ----
 
-#### verifyMessage
+#### 3.verifyMessage
 
 ```java
 Boolean verifyMessage(Client client);