Name

ERC20 Getter Plugin - Name

Description

Get ERC20 Token name

Method

name()

Input Parameters

NamePlugin TypeDescription

to

FctAddress

ERC20 Contract Address

Method Parameters

No required method parameters

Returned Values

NamePlugin TypeDescription

name

FctString

Name of the ERC20 token

Example

Example with initParams

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

Example without initParams

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

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

Learn more

Learn more about EIP20 token standard here

Last updated