sendSol

suspend fun sendSol(chainId: String, lamports: Long, to: String): String

Sends SOL to a specified address.

Return

The transaction signature.

Parameters

chainId

The ID of the blockchain chain.

lamports

The amount to send, in lamports.

to

The destination address.