Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/web3/packages/web3-eth-iban/src/index.js>default

Deno / TypeScript to Ethereum Connector
Latest
class default
import { default } from "https://deno.land/x/web3@v0.11.1/packages/web3-eth-iban/src/index.js";

This prototype should be used to create iban object from iban correct string

Constructors

new
default(iban)

Methods

Should be called to get iban checksum Uses the mod-97-10 checksumming protocol (ISO/IEC 7064:2003)

Should be called to get client identifier within institution eg. GAVOFYORK

Should be called to get institution identifier eg. XREG

Should be called to check if iban number is direct

Should be called to check if iban number if indirect

Should be called to check if iban is correct

Should be called to get client direct address

Static Methods

Should be used to create IBAN object for given institution and identifier

fromAddress(address)

This method should be used to create iban object from an ethereum address

fromBban(bban)

Convert the passed BBAN to an IBAN for this country specification. Please note that "generation of the IBAN shall be the exclusive responsibility of the bank/branch servicing the account". This method implements the preferred algorithm described in http://en.wikipedia.org/wiki/International_Bank_Account_Number#Generating_IBAN_check_digits

isValid(iban)

This method should be used to check if given string is valid iban object

This method should be used to create an ethereum address from a direct iban address

toIban(address)

This method should be used to create iban address from an ethereum address