postchain-client
Advanced tools
Changelog
[1.1.0] - 2023-02-17
RestClient.getConfirmationProof
functionITransaction.sign
now can be used with a single argument, which can implement the signatureProvider interface or be the privKey. This function is now asyncGTX.sign
now has two overloads, both of which are async. The GTX is now passed as first parameter.RestClient.query
and GtxClient.query
now has two overloads, the new signature takes the query name and query arguments as separate inputs. The old signature is marked as depricated an will be removed in the future.gtx
is now correctly typed in both GTX.sign
and GTX.addSignature
Changelog
[1.0.3] - 2023-02-03
query_gtv
which means that data is sent and recieved in GTV-encoded format.Changelog
[1.0.2] - 2022-12-23
Changelog
[1.0.1] - 2022-12-21
Update types of input parameters and return types of the following functions:
Set default logging to be less verbose
Changelog
[1.0.0] - 2022-12-09
{
type: string;
[Arg
:
string
]:
RawGtv;
}
where type is what previously was called query name.
Early version of the postchain-client written in javascript.