Please see more info on this issue

I am using dcrwallet from 
https://github.com/decred/dcrwallet/blob/master/rpc/documentation/api.md to 
get a transaction by hash. 

$request = new Grpc\GetTransactionRequest(['transaction_hash' => 
'my-hash-value']);
$response = $this->client->GetTransaction($request, []);

where GetTransaction is a function that takes a GetTransactionRequest 
object. when I debug GetTransactionRequest in that functions it seems 
GetTransactionRequest does some kind of encoding to the transaction. Is 
there any way I could avoid this or reverse the encoding? 



On Thursday, April 30, 2020 at 2:00:39 PM UTC+2, Likho Jiba wrote:
>
> Hi, I am not sure if this is the correct platform for this question, 
> please assist if you can. I am using gRPC's GetTransactionRequest in a 
> laravel app . I am sending through a transaction_hash as a parameter. when 
> I do serializeToJsonString on  GetTransactionRequest the value of the hash 
> is not what I sent through - it looks like GetTransactionRequest hashes the 
> value which then does not work with the WalletService/GetTransaction. 
>
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/c2bfc003-92e8-495f-8971-2045fde83d6f%40googlegroups.com.

Reply via email to