Receiver: await canton.ledger.getPackageStatus
Setup
import { Canton } from '@fairmint/canton-node-sdk';
const canton = new Canton({
network: 'devnet',
provider: '5n',
partyId: 'OWN_PARTY_ID',
});
Minimal example
const status = await canton.ledger.getPackageStatus({
packageId: '1220abc…',
});
Parameters — GetPackageStatusParams
packageId(required, string) — Canton hash prefixed identifier (1220…).
Returns — GetPackageStatusResponse
Vetting/synchronization statuses surfaced via Canton participant introspection.
Errors and pitfalls
Unknown packageId yields 404/NOT_FOUND style ApiError.
Auth and party
Bearer credential permitting participant introspection.