We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c55865c commit 39b1411Copy full SHA for 39b1411
Sources/web3swift/Tokens/ST20/Web3+SecurityToken.swift
@@ -91,7 +91,7 @@ public class SecurityToken: ISecurityToken, ERC20BaseProperties {
91
92
func tokenDetails() async throws -> [UInt32] {
93
transaction.callOnBlock = .latest
94
- let result = try await contract.createReadOperation("tokenDetails", parameters: [] as [AnyObject])!.callContractMethod()
+ let result = try await contract.createReadOperation("tokenDetails")!.callContractMethod()
95
guard let res = result["0"] as? [UInt32] else { throw Web3Error.processingError(desc: "Failed to get result of expected type from the Ethereum node") }
96
return res
97
}
0 commit comments