API Reference@overcast-xyz/solana-clientVariablestoIdOn this pageVariable: toId const toId: (pk) => Bytes32 = toSlot; Defined in: solana-client/src/utils.ts:100 A Solana PublicKey as the canonical slot core hashes and stores. Parameters ParameterTypepkPublicKey Returns Bytes32 Deprecated use toSlot — core no longer speaks base58.