Skip to content

​JSON-RPC Request

​Parameters

ParameterTypeRequiredDescription
transactionstringYesBase64-encoded transaction, already signed by the user’s signers
signer_keystringNoPublic key of the Kora signer to use. It must be one of the node’s signers. Defaults to the signer pool’s selection strategy
sig_verifybooleanNoVerify signatures during Kora’s simulation. Defaults to false. With true, a transaction that still needs Kora’s signature fails with Transaction did not pass signature verification
Pass the same signer_key to related calls (for example estimateTransactionFee and signTransaction) so one signer handles the whole flow. See Specifying a Signer.

​JSON-RPC Response

signTransaction doesn’t broadcast the transaction, so it returns no signature field. The transaction signature is the fee payer’s signature inside signed_transaction; decode it as shown below.

​cURL Example

​TypeScript SDK

​Errors

Under the default margin pricing, the transaction must include a payment instruction to the Kora payment address. Without it, the method returns a -32000 error:
Use estimateTransactionFee or getPaymentInstruction to compute the required payment and append it before calling signTransaction.