Skip to main content

send_payment

Function send_payment 

Source
pub async fn send_payment(
    rpc_url: &str,
    keypair: &Ed25519PrivateKey,
    sender: &Address,
    platform_address: &Address,
) -> Result<String>
Expand description

Send exactly 0.01 USDC to the platform address. Returns the transaction digest as a string.