SendETH

Utility Actions Plugin - SendETH

Description

Send native blockchain token (ETH)

Method

No method

Input Parameters

NamePlugin TypeDescription

to

FctAddress

ETH Receiver address

value

FctValue

Amount of ETH

Method Parameters

No required parameters

Returned Values

No value returned

Example

Example with initParams

const sendETH = new Utility.actions.SendETH({
 chainId: 1,
 initParams: {
   to: "0x...",
   value: "100000000000000000",
   methodParams: {}
 }
})

Example without initParams

const sendETH = new Utility.actions.SendETH({ chainId: 1 })

sendETH.input.set({
   to: "0x...",
   value: "100000000000000000",
   methodParams: {}
})

Last updated