📁
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
  • sendMessage
  • send

Was this helpful?

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

tx

Transactions RPC methods

sendMessage

Sends a custom Message.

Parameters

Parameter

Type

Description

message

Message

Custom unsigned Message

privateKey

PrivateKey

Private Key encoded in hex or base64

updateMsgNonce

boolean

Boolean indicating whether the message's nonce should be updated or not

waitMsg

boolean

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

send

Sends FIL to recipient.

Parameters

Parameter

Type

Description

to

string

The recipient's address

amount

BigNumber

The amount of FIL to send

gasLimit

number

The Message's gas limit to use

privateKey

PrivateKey

Private Key encoded in hex or base64

network

Network

mainnet or testnet

waitMsg

boolean

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

PreviouspaychNextwallet

Last updated 3 years ago

Was this helpful?