iotexproject / pharos

Gateway server bridging REST and gRPC
Apache License 2.0
1 stars 0 forks source link

Add examples/docs for endpoints #10

Open simonerom opened 4 years ago

simonerom commented 4 years ago

Can you please provide examples for:

/v1/actionbytes/{signedbytes:[0-9a-fA-F]+} it seems I need the serialized array of bytes for the signed transactions: how can I get it? Any ioctl command to generate it?

/v1/staking/delegations/{addr:[0-9ac-z]{41}} // Always getting empty array for this one

raullenchai commented 4 years ago

cc @dustinxie

pharos is mostly for internal use (only used by trustwallet), so doesn't need to doc about it.

We shall perhaps doc about Rosetta api

simonerom commented 4 years ago

Ok, I thought that could have been used for more integrations that required REST API. Will leave it out by now then, and add Rosetta instead!