Web3.swift icon indicating copy to clipboard operation
Web3.swift copied to clipboard

A pure swift Ethereum Web3 library

Results 73 Web3.swift issues
Sort by recently updated
recently updated
newest added

'EthereumQuantity' only accepts BigUInt, however this becomes a problem if I want to do this: `EthereumQuantity(quantity: BigUInt(1.5).eth)` Is there a way to create an 'EthereumQuantity' using a Double?

Change the `String` in the init to `URL` and thus it removes the possible error during unwrapping (the `URL` now has to be unwrapped by the user beforehand). Also changed...

`A full-node running without archive mode will prune generated state to conserve disk space. This helps with the sync time of a node and greatly reduces storage and computation cost....

I'm trying to decode an empty value and getting `couldNotDecodeType` error: ```swift let encoded = try ABI.encodeParameter(type: .bytes(length: nil), value: Data("".utf8)) let decoded = try ABI.decodeParameter(type: .bytes(length: nil), from: encoded)...

I need to send etherum using this library, while I am getting this error. ![Screenshot 2020-12-04 at 12 06 51 PM](https://user-images.githubusercontent.com/60166636/101130300-38d56400-3629-11eb-8ce5-a2a585f3d0a5.png)

https://infura.io/docs/ethereum/json-rpc/eth-estimateGas `gasPrice` parameter was missing in the estimateGas() function signature

Mock Web3 request tests instead of relying on Infura as this is obviously bad practice.

bug
testing

https://infura.io/docs/ethereum/json-rpc/eth-getTransactionByHash