In regard to calling a chaincode(go lang) through fabric nodejs API, The Request Object for the method sendTransactionProposal(req ChaincodeInvokeRequest) the ChaincodeInvokeRequest accepts only Array. as arguments for the invoke method to be called, IS there any other way/mechanism to pass arguments say..JSON, name/values.. .. present ordered way of arguments looks very odd.I am referring to Fabric V1.2 https://fabric-sdk-node.github.io/global.html#ChaincodeInvokeRequest.
Arguments as JSON kind of in sendTransactionProposal(req ChaincodeInvokeRequest) in Hyperledger Fabric
418 views Asked by Harshitha C At
1
There are 1 answers
Related Questions in JSON
- Handling both JSON and form values in POST request body with unknown values in Golang
- JSON Body is Not Passing Certain Strings
- Custom rewriter for json
- TypeScript: Type checking while parsing an arbitrary JSON that is typed/
- I dont understand what to do with: System.Text.Json.JsonException: 'The JSON value could not be converted to System.Collections.Generic.IEnumerable`1
- How to perform CRUD operations on a static JSON array in Angular? (without API)
- Dynamic Nested Multi-Dimensional Arrays in Rust
- Creating bar chart in FastAPI
- How to encode ttsJson data?
- Trying to get the id of the last element in my json file through an api
- How to give index id to my uploaded json file in FastAPI?
- JQ JSON - Values to Array
- Spring boot JSON parse error: Unexpected character error
- convert csv file with json data inside to a column, rows table in 2nd csv file
- Sigma.JS custom rendering
Related Questions in NODE.JS
- Using Puppeteer to scrape a public API only when the data changes
- How to request administrator rights?
- How do I link two models in mongoose?
- Variable inside a Variable, not updating
- Unable to Post Form Data to MongoDB because of picturepath
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- My unban and ban commands arent showing when i put the slash
- how to make read only file/directory in Mac writable
- How can I outsource worker processes within a for loop?
- Get remote MKV file metadata using nodejs
- Adding google-profanity-words to web page
- Products aren't displayed after fetching data from mysql db (node.js & express)
Related Questions in HYPERLEDGER-FABRIC
- Error during Hyperledger Composer network install: npm ERR! command failed with node-gyp rebuild
- Backup and restoring Hyperledger fabric network one instance to other instanc
- hyperledger fabric can we intergrate existing database into a blockchain network and how?
- Accessing Fabric CA Server with REST API (Authentication Error)
- Learning Hyperledger Fabric & setting up a simple network. Stuck on an error while trying to regenerate the channel configuration transaction
- HyperLedger fabric error during the channel creation
- Im using hyperledger fabric, and im receiving a non-zero return code for when i try to run 'run the orderer raft leader election script'
- Setting up gRPC Proxies for HLF Operator Operations Console
- Error: Failed to get client TLS config: Error parsing certificate: x509: malformed serial number
- Facing slowness in Channel sync Operation in Hyperledger Fabric v2.2
- failed client connection to minifabric blockchain
- Hyperledger & OpenTelemetry: "GrpcExporter : Failed to export metrics" Failed to connect to localhost
- committed with status (ENDORSEMENT_POLICY_FAILURE) at peer1.org1.com:7051
- Hyperledger Fabric CA Certificate Error with Fabric Samples deployment
- How to manage dynamic data format in hyperledger
Related Questions in SHIM
- What is a shim in asdf
- XCFramework cannot import other module
- C# Pose Shim from Task
- WARNING Crisp found shims of native JavaScript methods
- Run .Net Framework 4.8 dll in .Net 6
- Containerd ctr command for pulling images gives error
- How to shim a dependency in babel.config.js in react-native?
- A solution to rEFInd unable to load using shim when Secure Boot is enabled
- Checksum error in installing software using chocolatey
- shim boot loader is blocked after enrolling MOK
- Unable to use shims in MStest to fake a SharePoint in .net
- Vanilla JS - Trying to Shim Fake Data in place of JSON Response?
- Import d.ts definitions from specific node_modules package
- Unable to Shim DateTime.Now in C# dotnet core 3.1
- Unable to fetch cpu pod metrics, k8s- containerd - containerd-shim-runsc-v1 - gvisor
Related Questions in HYPERLEDGER-FABRIC-SDK-GO
- Fabric SDK Go Conflict with Fabric 1.4.12 Protos - "Message Already Registered" Error
- How can I set an insecure connections between endorser peers?
- abric go sdk1.0.0 execute [cli.Execute()] get an error "error registering for TxStatus event: no peers to connect to"
- Can't invoke chaincode using fabric-sdk-go lib in hyperledger fabric
- How to fix FireFly Fabconnect container start issue: "User credentials store creation failed. User credentials store path is empty"
- fabsdk/util configure MSP failed: sanitizeCert failed the supplied identity is not valid: x509: certificate signed by unknown authority
- Hyperledger Fabric2.4.7 testnetwork- how can I read an other Orgs implicit private data collection
- Adding data to a PDC from an orderer peer - Hyperledger Fabric
- Failed to get network: Failed to create new channel client: event service creation failed: could not get chConfig cache reference
- Hyperledger Go SDK Client error connection is in TRANSIENT_FAILURE remote error: tls: bad certificate
- How to package the couchdb indexes in external chaincode build?
- I encountered some problems when I tried to connect the chaincode with the go program.* '***.Registrar' expected a map, got 'slice'
- TRANSIENT_FAILURE occurs when a transaction is sent using Gateway that is configured using `WithSDK` in fabric-go-sdk
- How to initialize FabricSDK correctly?
- fabric invoke chaincode error: Failed to get endorsing peers: no endorsement combination can be satisfied
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
We can send only string arguments to the chaincode invoke request, still you can stringify the JSON and send it as an argument then you can parse it if you want in the chaincode.