Skip to content
Alchemy Logo

UndelegateAccountResult

type UndelegateAccountResult =
  | {
      id: `0x${string}`;
      preparedCallIds: `0x${string}`[];
      details:
        | {
            type: "user-operation";
            data: {
              hash: `0x${string}`;
              calls?:
                | {
                    to: `0x${string}`;
                    data?: `0x${string}` | undefined;
                    value?: bigint | undefined;
                  }[]
                | undefined;
            };
          }
        | {
            type: "delegation";
          };
    }
  | {
      id: `0x${string}`;
      preparedCallIds: `0x${string}`[];
      details: {
        type: "solana-transaction-v0";
      };
    };

Defined in: packages/wallet-apis/src/actions/undelegateAccount.ts:17

Was this page helpful?