📁
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
  • transactionParse
  • transactionSerializeRaw
  • transactionSignLotus
  • transactionVerifyLotus

Was this helpful?

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

tx

Transactions signing tools

transactionParse

Parses a cbor encoded message into a message.

Parameters

Parameter

Type

Description

cborMessage

string

Cbor encoded message

network

"mainnet"|"testnet"

Filecoin network

transactionSerializeRaw

Serializes a message with a cbor encoding.

Parameters

Parameter

Type

Description

message

Message

Message to be serialized.

transactionSignLotus

Sign a message for lotus.

Parameters

Parameter

Type

Description

unsignedMessage

string|Message

Cbor encoded or Message object

privateKey

string

Private Key encoded in hex or base64

transactionVerifyLotus

Verifies a SignedMessage.

Parameters

Parameter

Type

Description

signedMessage

SignedMessage

Lotus formatted signed message

PreviouspaychNextwallet

Last updated 3 years ago

Was this helpful?