Created
April 30, 2021 01:04
-
-
Save apow2/57d29e1b2d3dec67e8351c69415140d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tx = { | |
from: address, | |
to: contractAddress, | |
gas: 20000, | |
value: 1000, | |
data: myContract.methods.setAddresses(MetaDataAddress, BINAddress).encodeABI(), | |
common: {customChain: {networkId:1, chainId: 43113}} //chain information | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment