📍ftm.getBalance()

Description: Retrieves the balance of a given address in Wei.

Parameters

Name

Type

Description

address

string

The address to check for balance.

quantity or tag

integer / string (optional)

Block number or one of 'latest', 'earliest', or 'pending'.

Returns

Type

Description

integer

Current balance in Wei, encoded as a hexadecimal.

Last updated