SDK 변경사항 (베타)

@solana/kora SDK가 v2.2.0-beta 릴리스를 위한 새로운 API로 업데이트되었습니다. 베타 SDK를 설치하세요:

pnpm add @solana/kora@beta

번들 메서드

SDK는 이제 모든 번들 작업을 지원합니다:

// Estimate bundle fees
const estimate = await client.estimateBundleFee({
transactions: [base64Tx1, base64Tx2],
fee_token: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
});
// Sign a bundle without submitting
const { signed_transactions } = await client.signBundle({
transactions: [base64Tx1, base64Tx2, base64Tx3],
signer_key: koraSignerAddress
});
// Sign and submit a bundle to Jito
const { bundle_uuid } = await client.signAndSendBundle({
transactions: [base64Tx1, base64Tx2, base64Tx3],
signer_key: koraSignerAddress
});

getVersion

const { version } = await client.getVersion();
console.log("Kora server version:", version);

Is this page helpful?

목차

페이지 편집

관리자

© 2026 솔라나 재단.
모든 권리 보유.
연결하기