Symbol

ERC20 Getter Plugin - Symbol

Description

Get ERC20 Symbol

Method

symbol()

Input Parameters

NamePlugin TypeDescription

to

FctAddress

ERC20 Contract Address

Method Parameters

No required method parameters

Returned Values

NamePlugin TypeDescription

symbol

FctString

Symbol of the ERC20 token

Example

Example with initParams

const symbolPlugin = new ERC20.getter.Symbol({
 chainId: 1,
 initParams: {
   to: "0xB1191F691A355b43542Bea9B8847bc73e7Abb137" // KIRO Address
 }
})

Example without initParams

const symbolPlugin = new ERC20.getter.Name({ chainId: 1 })

name.input.set({
    to: "0xB1191F691A355b43542Bea9B8847bc73e7Abb137" // KIRO Address
})

Learn more

Learn more about EIP20 token standard here

Last updated