com.coinbase.cdp.resources.evmsmartaccounts.requests
Method Details
getIdempotencyKey
Optional<String> - An optional string request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
getNetwork
getSpender
String - Entity that can spend account’s tokens. Can be either a Smart Account or an EOA.
getToken
String - ERC-7528 native token address (e.g. “0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE” for native ETH), or an ERC-20 contract address.
getAllowance
String - Maximum allowed value to spend, in atomic units for the specified token, within each period.
getPeriod
String - Time duration for resetting used allowance on a recurring basis (seconds).
getStart
String - The start time for this spend permission, in Unix seconds.
getEnd
String - The expiration time for this spend permission, in Unix seconds.
getSalt
Optional<String> - An arbitrary salt to differentiate unique spend permissions with otherwise identical data.
getExtraData
Optional<String> - Arbitrary data to include in the permission.
getPaymasterUrl
Optional<Url> - The paymaster URL of the spend permission.
equals
[equals](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals\(java.lang.Object\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")
Parameters:
other - Object
Returns:
boolean
getAdditionalProperties
Map<String,Object>
hashCode
[hashCode](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")
Returns:
int
toString
[toString](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")
Returns:
String
builder
NetworkStage