- Preparing search index...
- The search index is not available
Stacks Connect
- getDefaults(options: TransactionOptions): {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
contractAddress: string;
contractName: string;
fee?: string | number;
functionArgs: (string | ClarityValue)[];
functionName: string;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored?: false;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
contractAddress: string;
contractName: string;
fee?: string | number;
functionArgs: (string | ClarityValue)[];
functionName: string;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored: true;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
codeBody: string;
contractName: string;
fee?: string | number;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored?: false;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
codeBody: string;
contractName: string;
fee?: string | number;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored: true;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
amount: string | BigInt;
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
fee?: string | number;
memo?: string;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
recipient: string;
senderKey?: string;
sponsored?: false;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
amount: string | BigInt;
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
fee?: string | number;
memo?: string;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
recipient: string;
senderKey?: string;
sponsored: true;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
contractAddress: string;
contractName: string;
fee?: string | number;
functionArgs: (string | ClarityValue)[];
functionName: string;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored?: false;
stxAddress?: string;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
contractAddress: string;
contractName: string;
fee?: string | number;
functionArgs: (string | ClarityValue)[];
functionName: string;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored: true;
stxAddress?: string;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
codeBody: string;
contractName: string;
fee?: string | number;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored?: false;
stxAddress?: string;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
codeBody: string;
contractName: string;
fee?: string | number;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored: true;
stxAddress?: string;
userSession?: UserSession;
} | {
amount: string | BigInt;
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
fee?: string | number;
memo?: string;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
recipient: string;
senderKey?: string;
sponsored?: false;
stxAddress?: string;
userSession?: UserSession;
} | {
amount: string | BigInt;
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
fee?: string | number;
memo?: string;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
recipient: string;
senderKey?: string;
sponsored: true;
stxAddress?: string;
userSession?: UserSession;
}
Internal
Returns {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
contractAddress: string;
contractName: string;
fee?: string | number;
functionArgs: (string | ClarityValue)[];
functionName: string;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored?: false;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
contractAddress: string;
contractName: string;
fee?: string | number;
functionArgs: (string | ClarityValue)[];
functionName: string;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored: true;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
codeBody: string;
contractName: string;
fee?: string | number;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored?: false;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
codeBody: string;
contractName: string;
fee?: string | number;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored: true;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
amount: string | BigInt;
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
fee?: string | number;
memo?: string;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
recipient: string;
senderKey?: string;
sponsored?: false;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
amount: string | BigInt;
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
fee?: string | number;
memo?: string;
network?: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
recipient: string;
senderKey?: string;
sponsored: true;
stxAddress: string | undefined;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
contractAddress: string;
contractName: string;
fee?: string | number;
functionArgs: (string | ClarityValue)[];
functionName: string;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored?: false;
stxAddress?: string;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
contractAddress: string;
contractName: string;
fee?: string | number;
functionArgs: (string | ClarityValue)[];
functionName: string;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored: true;
stxAddress?: string;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
codeBody: string;
contractName: string;
fee?: string | number;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored?: false;
stxAddress?: string;
userSession?: UserSession;
} | {
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
codeBody: string;
contractName: string;
fee?: string | number;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
senderKey?: string;
sponsored: true;
stxAddress?: string;
userSession?: UserSession;
} | {
amount: string | BigInt;
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
fee?: string | number;
memo?: string;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: Finished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
recipient: string;
senderKey?: string;
sponsored?: false;
stxAddress?: string;
userSession?: UserSession;
} | {
amount: string | BigInt;
anchorMode?: AnchorMode;
appDetails?: {
icon: string;
name: string;
};
attachment?: string;
authOrigin?: string;
fee?: string | number;
memo?: string;
network: StacksNetwork;
nonce?: number;
onCancel?: Canceled;
onFinish?: SponsoredFinished;
postConditionMode?: PostConditionMode;
postConditions?: (string | PostCondition)[];
recipient: string;
senderKey?: string;
sponsored: true;
stxAddress?: string;
userSession?: UserSession;
}