📁
filecoin.loans
  • Introduction
  • Protocol
    • Lend FIL - ERC20 Tokens as Collateral
    • Lend ERC20 Tokens - FIL as Collateral
  • Develop
    • Requirements
    • Quickstart Guide
      • Setting up the Hardhat node
      • Running the server
      • Running the app
      • Setting up Metamask
  • Reference guide
    • Filecoin Loans Contracts
      • Interfaces
        • IBLAKE2b
        • IERC20
        • IPriceAggregator
      • Contracts
        • ERC20CollateralLock
        • ERC20Loans
    • API Reference
      • operation
        • FIL - ERC20 loan operations
        • ERC20 - FIL loan operations
      • loanAssets
      • protocolContracts
      • orders
      • loan
      • loans
      • notification
      • activity
  • Tools
    • filecoin-js-signer
      • API Reference
        • FilecoinSigner
          • msig
          • paych
          • tx
          • wallet
        • FilecoinClient
          • msig
          • paych
          • tx
          • wallet
      • Develop Guide
      • Credits and references
Powered by GitBook
On this page
  • getBalance
  • transfer

Was this helpful?

  1. Tools
  2. filecoin-js-signer
  3. API Reference
  4. FilecoinClient

wallet

Wallet RPC methods

getBalance

Gets the balance of the account.

Parameters

Parameter

Type

Description

address

string

FIL address of the account

transfer

Transfers tokens to another account

Parameters

Parameter

Type

Description

to

string

Receiver's account

amount

BigNumber

Amount to transfer

gasLimit

number

Gas limit value

privateKey

string

Private key of the sender

network

Network

mainnet or testnet

waitMsg

boolean

Boolean indicating whether to wait for the message to confirm or not

PrevioustxNextDevelop Guide

Last updated 3 years ago

Was this helpful?