You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the following properties are accessible on the MetaMask provider object:
window.ethereum.chainId
window.ethereum.networkVersion
window.ethereum.selectedAddress
They allow for synchronous access to the last known value of these chain/network attributes. They are not part of the EIP-1193 spec and are not officially listed in our provider API documentation . Despite not being intended for public usage, these properties have been publicly available for some time and we can assume that there are some Dapps out there that now rely on these values being available on the MetaMask provider object. Given this, we should make a best effort to inform developers that usage of these properties is not supported, that these properties will be removed in the future, and what equivalents can be used instead.
Related to the above fields, we also plan on removing the following which have already been properly deprecated:
Currently the following properties are accessible on the MetaMask provider object:
window.ethereum.chainId
window.ethereum.networkVersion
window.ethereum.selectedAddress
They allow for synchronous access to the last known value of these chain/network attributes. They are not part of the EIP-1193 spec and are not officially listed in our provider API documentation . Despite not being intended for public usage, these properties have been publicly available for some time and we can assume that there are some Dapps out there that now rely on these values being available on the MetaMask provider object. Given this, we should make a best effort to inform developers that usage of these properties is not supported, that these properties will be removed in the future, and what equivalents can be used instead.
Related to the above fields, we also plan on removing the following which have already been properly deprecated:
networkChanged
eventnet_version
support inwindow.ethereum.send()
Originally posted by @jiexi in #23
The text was updated successfully, but these errors were encountered: