tomusdrw / rust-web3

Ethereum JSON-RPC multi-transport client. Rust implementation of web3 library. ENS address: rust-web3.eth
MIT License
1.45k stars 465 forks source link

H160 to String without the three dots #652

Closed kauly closed 2 years ago

kauly commented 2 years ago

Convert an H160 address using the to_string method will put three dots in the middle of the address, like this:

0x27ee61c11cec8b578072d2e1e400eb7600225b17, "0x27ee…5b17"

I wanna the full string to make a graphql request, its possible?

kauly commented 2 years ago

I find a way format!("{:?}", h160_addr);