Accepting Payments
Configuring & Connecting Wallets and Managing Identities
Sending ETH through MetaMask
import { sendEth } from "api/funding";const doSendToken = async () => {
try {
await sendEth({
from: fundModal.ethAddress, User's metamask address
to: config.fundAddress,
amount: fundModal.tokenAmount // Fund amount in Wei
}).then(() => {
// Success.
});
} catch (error) {
// Handle your error.
}
};Sending KOII using Finnie
Last updated
