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
Parameter | Type | Description |
---|---|---|
params ? | object | No 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();