Skip to main content

Nonces

ref: Wallet-StableCoin-Permit

Return the current EIP-2612 permit nonce for the given owner address on a StableCoin contract.

func Nonces(
contractAddress,
ownerAddress string,
) (*big.Int, error)
func main() {
...
alchemy := gas.NewAlchemy(setting)
...
nonce, err := alchemy.StableCoin.Nonces(contractAddress, ownerAddress)
}