relay-and-call
feature implemented recently in the OmniBridge contracts. In the last section of the manual there is also an instruction on how to transfer BNB to WBNB on the xDai chain using a single operation. This may not be used often but some users may find it handy.transferAndCall
method._to
(address) the address of the OmniBridge contract on the xDai chain: 0x59447362798334d3485c64D1e4870Fde2DDC0d75
_value
(uint256) with amount of WBNB to be bridged (bridge fees will be subtracted from this value)_data
(bytes) with two pieces concatenated:0xefc33f8b2c4d51005585962be7ea20518ea9fd0d
)0x
.0xbf3d6f830ce263cae987193982192cd990442b53
the value in _data
field is0xefc33f8b2c4d51005585962be7ea20518ea9fd0dbf3d6f830ce263cae987193982192cd990442b53
0xefc33f8b2c4d51005585962be7ea20518ea9fd0d
wrapAndRelayTokens
method and enter the amount of BNB to bridge to the xDai chain: