How to get all available Assets?
How to get all assets for particular public Key/private key?
Using below URL to retrieve the specific assets/metadata using search criteria
http://localhost:9984/api/v1/assets?search={search_param_string}
// Metadata contains information about the transaction itself
// (can be `null` if not needed)
{metadata},
// A transaction needs an output
[ BigchainDB.Transaction.makeOutput(
BigchainDB.Transaction.makeEd25519Condition(alice.publicKey))
],
alice.publicKey
)
// Sign the transaction with private keys
const txSigned = BigchainDB.Transaction.signTransaction(tx, alice.privateKey)
// Send the transaction off to BigchainDB
let conn = new BigchainDB.Connection(API_PATH)
conn.postTransactionCommit(txSigned)
@abhi-nilekar
npm install bigchaindb-driver@4.1.0
npm install base-x@3.0.4
npm install bip39@2.5.0
may be it will help you
Hello all,
Regarding the transferring of an asset, if we take an example of car as an asset, the ownership is being transferred and but in case if we take medicine as an asset, the manufacturer manufactures a bulk quantity of medicines but he transfer some amount of medicine to the shopkeepers. Then how we can transfer the asset?
Any help is appreciated