Delegate/Revoke

The standard functions that are used in the below subpages explain how to initiate transactions. However, if you want to save the transaction data to be called later, you can do so with the following functions.

This is also useful if you'd like to do a multicall.

import { 
    rawDelegateAll, 
    rawDelegateContract, 
    rawDelegateERC721, 
    rawDelegateERC1155,
    rawDelegateERC20,
    rawMulticall
} from "@delegatexyz/sdk";

Their usage is the same, however it is not asynchronous.

Last updated