Skip to main content

Validate an EIP-712 permit signature

GET 

/:network/permit/validate-signature

Validate an EIP-712 permit signature

Request

Path Parameters

    network stringrequired

    The blockchain network name (e.g., eth-mainnet).

Query Parameters

    token_name stringrequired

    The name of the token (e.g., DAI).

    owner stringrequired

    The owner of the tokens.

    spender stringrequired

    The address of the spender allowed to spend the tokens.

    value stringrequired

    The amount of tokens to be spent (in Wei).

    nonce numberrequired

    The nonce of the owner at the time of signing.

    deadline numberrequired

    The deadline (as a Unix timestamp) for the permit.

    signature stringrequired

    The EIP-712 signature being validated.

    contract_address stringrequired

    The address of the contract to verify against.

    chain_id number

    The chain ID of the blockchain network.

Responses

EIP-712 signature validated successfully.

Schema

    is_valid booleanrequired

    Indicates if the signature is valid.

    network_name stringrequired

    The blockchain network name.

    chain_id numberrequired

    The chain ID of the blockchain network.

    owner stringrequired

    The owner of the tokens.

    spender stringrequired

    The address of the spender allowed to spend the tokens.

    value stringrequired

    The amount of tokens to be spent (in Wei).

    nonce numberrequired

    The nonce of the owner at the time of signing.

    deadline_timestamp numberrequired

    The deadline (as a Unix timestamp) for the permit.

    deadline_date date-timerequired

    The deadline (as a Date object) for the permit.

    verifying_contract stringrequired

    The address of the contract to verify against.

    signature stringrequired

    The EIP-712 signature being validated.

Loading...