Skip to main content

Function: useMoveIban()

useMoveIban(params?: {mutation: {}; }): MutationResult<"moveIban", ResponseStatus, Error, MoveIbanPayload & {iban: string; }>

Move an existing IBAN to a specified address an chain. All incoming EUR payments will automatically be routed to the address on that chain.

Parameters

ParameterTypeDescription
params?objectNo required parameters.
params.mutation?MutationOptions<ResponseStatus, Error, MoveIbanPayload & {iban: string; }>See Tanstack Query - useMutation options.

Returns

MutationResult<"moveIban", ResponseStatus, Error, MoveIbanPayload & {iban: string; }>

Example

const {
moveIban, // useMutation's `mutateAsync` property
isPending,
isError,
error,
status,
...moreUseMutationResults
} = useMoveIban();

See

API Documentation

Defined in

sdk-react-provider/src/lib/hooks.tsx:797