I'm trying to get contract entries by keys from ledger and got stuck at the very first step.
At the docs https://github.com/stellar/js-soroban-client/blob/main/docs/reference/readme.md#xdr I see:
new SorobanClient.xdr.LedgerKeyAccount({
accountId: 'GASOCNHNNLYFNMDJYQ3XFMI7BYHIOCFW3GJEOWRPEGK2TDPGTG2E5EDW'
})
It doesn't work, and I can get accountId only from keyPair.xdrAccountId(). keyPair may be got from user address with SorobanClient.Keypair.fromPublicKey('...'). But it doesn't work with smart contract public key.
And then I should probably use something different from xdr.LedgerKeyAccount.