AvaCloud

SendView

import { SendView } from '@avalabs/avacloud-waas-react';
 
function SendSection() {
  return (
    <SendView
      onBack={() => {
        // Handle back navigation
      }}
      onViewStateChange={(state) => {
        // Handle view state changes
        console.log('View state:', state);
      }}
      selectedToken={token} // Optional, pre-select a token to send
    />
  );
}

Props

interface SendViewProps {
  onBack: () => void;  
  onViewStateChange?: (state: ViewState) => void; 
  selectedToken?: ERC20Token | NativeToken; 
}

Features

  • Token sending interface
  • Required back navigation functionality
  • Optional view state tracking
  • Pre-selection of token support
  • Handles both ERC20 and native tokens
  • Transaction state management

If you need more help, explore our other articles or reach out to our support team via chat or email support@avacloud.io. All examples provided are for demonstration purposes only.

Learn More About AvaCloud | Download Case Studies | Schedule an AvaCloud Demo

On this page