REST API
Last updated
Was this helpful?
Last updated
Was this helpful?
You can access the Rest API through the Swagger UI from the App API section. Navigate to Network -> Deployed Apps -> App -> Rest API
Create a transaction on the blockchain
/ledger/transact
Whether to wait for the transaction to be created before returning a response or not. When async=false (default), the API will wait for the transaction to be committed on the Ledger and then return the transaction Id. If async=true, the API will return immediately with a receipt Id. The reciept Id can be used to check the status of the transaction anytime using the /receipt
endpoint.
CreateDocumentDefinitions
Queries/Evaluate the transaction on the blockchain
/ledger/query
CreateDocumentDefinitions
Issues the identity from the certificate authority
/identity
user1
client
10
ReIssue the identity from the certificate authority
/identity/{enrollmentId}
Get the identity from the fabric certificate authority
/identity/{enrollmentId}
Revoke the identity from the certificate authority
/identity/{enrollmentId}
keycompromise
Get all identities from the certificate authority
/identity/all
Get Fabric Chain Information
/explorer/chainInfo
Get Blockchan Block for a Number
/explorer/block/byNumber/{blockNumber}
Get Blockchan Block for a TransactionId
/explorer/block/byTxId/{transactionId}
Get Blockchan Transaction for a TransactionId
/explorer/transaction/byTxId/{transactionId}
Get latest Blocks
/explorer/block/latest
Get latest Transactions
/explorer/transaction/latest
Get the status of an already submitted transaction using the returned receipt id.
/receipt
The receipt id returned while submitting the transaction.