postchain-client
Advanced tools
Changelog
[1.8.0]
KeyPair
changed from having pubKey
as optional to being mandatory.signTransaction
and signAndSendUniqueTransaction
no longer accept signMethod
as type PrivKey
, instead it have to be a KeyPair
or SignatureProvider
.commonJS()
of ESM build-step in Rollup.config.mjs
to transform mixed modules to ESM modules.resolve()
of ESM build-step in Rollup.config.mjs
to top of plugin list.directoryNodeUrlPool
when querying for the brid of directory chain.txRejectedError
to have public properties.Changelog
[1.7.1] - 2023-09-28
QueryObject
, you must specify return type.DictPair
instead of QueryArguments
alias.Changelog
[1.7.0] - 2023-09-27
query
to query<TReturn, TArgs>
.QueryObject<TReturn, TArgs>
.Changelog
[1.6.0] - 2023-09-22
BlockchainUrlUndefinedException
exported.getTransactionsInfo
which fetch info about transactions on the chain.getTransactionInfo
which fetch info about a transaction.getTransactionCount
which fetch number of successful transactions on the chain.TxRejectedError
, the error will print the rejection reason if it exist. From the error it is possible to get shortReason
, rellLine
, and operation
(used like error.operation
).Changelog
[1.5.10] - 2023-09-15
AbortOnError
, TryNextOnError
, SingleEndpoint
. A description can be found in the README.Changelog
[1.5.9] - 2023-08-30
Changelog
[1.5.8] - 2023-08-25
isBlockAnchored
, getBlockAnchoringTransaction
,getAnchoringClient
Changelog
[1.5.7] - 2023-08-15
createIccfProofTx
Changelog
[1.5.6] - 2023-07-07
ReadonlyArray<RawGtv>
to union of RawGtv
Changelog
[1.5.5] - 2023-07-03