Namespace: PAYMASTER_API
Interfaces​
- INVALID_ADDRESS
- TOKEN_NOT_SUPPORTED
- INVALID_SIGNATURE
- MAX_AMOUNT_TOO_LOW
- CLASS_HASH_NOT_SUPPORTED
- TRANSACTION_EXECUTION_ERROR
- INVALID_TIME_BOUNDS
- INVALID_DEPLOYMENT_DATA
- INVALID_CLASS_HASH
- INVALID_ID
- UNKNOWN_ERROR
Type Aliases​
Methods​
Ƭ Methods: ReadMethods
& WriteMethods
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/methods.d.ts:32
u256​
Ƭ u256: string
256 bit unsigned integers, represented by a hex string of length at most 64
Pattern
^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,63})$
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:7
CALL​
Ƭ CALL: Object
The object that defines an invocation of a function in a contract
Type declaration​
Name | Type |
---|---|
to | ADDRESS |
selector | FELT |
calldata | FELT [] |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:11
TRACKING_ID​
Ƭ TRACKING_ID: FELT
A unique identifier corresponding to an execute
request to the paymaster
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:19
USER_DEPLOY_TRANSACTION​
Ƭ USER_DEPLOY_TRANSACTION: Object
User transaction
Type declaration​
Name | Type |
---|---|
type | "deploy" |
deployment | ACCOUNT_DEPLOYMENT_DATA |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:23
USER_INVOKE_TRANSACTION​
Ƭ USER_INVOKE_TRANSACTION: Object
Type declaration​
Name | Type |
---|---|
type | "invoke" |
invoke | USER_INVOKE |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:27
USER_INVOKE​
Ƭ USER_INVOKE: Object
Type declaration​
Name | Type |
---|---|
user_address | ADDRESS |
calls | CALL [] |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:31
USER_DEPLOY_AND_INVOKE_TRANSACTION​
Ƭ USER_DEPLOY_AND_INVOKE_TRANSACTION: Object
Type declaration​
Name | Type |
---|---|
type | "deploy_and_invoke" |
deployment | ACCOUNT_DEPLOYMENT_DATA |
invoke | USER_INVOKE |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:35
USER_TRANSACTION​
Ƭ USER_TRANSACTION: USER_DEPLOY_TRANSACTION
| USER_INVOKE_TRANSACTION
| USER_DEPLOY_AND_INVOKE_TRANSACTION
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:40
EXECUTABLE_USER_DEPLOY_TRANSACTION​
Ƭ EXECUTABLE_USER_DEPLOY_TRANSACTION: Object
User transaction
Type declaration​
Name | Type |
---|---|
type | "deploy" |
deployment | ACCOUNT_DEPLOYMENT_DATA |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:44
EXECUTABLE_USER_INVOKE_TRANSACTION​
Ƭ EXECUTABLE_USER_INVOKE_TRANSACTION: Object
Type declaration​
Name | Type |
---|---|
type | "invoke" |
invoke | EXECUTABLE_USER_INVOKE |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:48
EXECUTABLE_USER_INVOKE​
Ƭ EXECUTABLE_USER_INVOKE: Object
Type declaration​
Name | Type |
---|---|
user_address | ADDRESS |
typed_data | OutsideExecutionTypedData |
signature | SIGNATURE |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:52
EXECUTABLE_USER_DEPLOY_AND_INVOKE_TRANSACTION​
Ƭ EXECUTABLE_USER_DEPLOY_AND_INVOKE_TRANSACTION: Object
Type declaration​
Name | Type |
---|---|
type | "deploy_and_invoke" |
deployment | ACCOUNT_DEPLOYMENT_DATA |
invoke | EXECUTABLE_USER_INVOKE |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:57
EXECUTABLE_USER_TRANSACTION​
Ƭ EXECUTABLE_USER_TRANSACTION: EXECUTABLE_USER_DEPLOY_TRANSACTION
| EXECUTABLE_USER_INVOKE_TRANSACTION
| EXECUTABLE_USER_DEPLOY_AND_INVOKE_TRANSACTION
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:62
SPONSORED_TRANSACTION​
Ƭ SPONSORED_TRANSACTION: Object
Execution parameters
Type declaration​
Name | Type |
---|---|
mode | "sponsored" |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:66
GASLESS_TRANSACTION​
Ƭ GASLESS_TRANSACTION: Object
Type declaration​
Name | Type |
---|---|
mode | "default" |
gas_token | FELT |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:69
FEE_MODE​
Ƭ FEE_MODE: SPONSORED_TRANSACTION
| GASLESS_TRANSACTION
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:73
EXECUTION_PARAMETERS_V1​
Ƭ EXECUTION_PARAMETERS_V1: Object
Type declaration​
Name | Type |
---|---|
version | "0x1" |
fee_mode | FEE_MODE |
time_bounds? | TIME_BOUNDS |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:74
EXECUTION_PARAMETERS​
Ƭ EXECUTION_PARAMETERS: EXECUTION_PARAMETERS_V1
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:79
ACCOUNT_DEPLOYMENT_DATA​
Ƭ ACCOUNT_DEPLOYMENT_DATA: Object
Data required to deploy an account at an address
Type declaration​
Name | Type |
---|---|
address | ADDRESS |
class_hash | FELT |
salt | FELT |
calldata | FELT [] |
sigdata? | FELT [] |
version | 1 |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:83
TOKEN_DATA​
Ƭ TOKEN_DATA: Object
Object containing data about the token: contract address, number of decimals and current price in STRK
Type declaration​
Name | Type |
---|---|
token_address | ADDRESS |
decimals | number |
price_in_strk | u256 |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:94
FEE_ESTIMATE​
Ƭ FEE_ESTIMATE: Object
Type declaration​
Name | Type |
---|---|
gas_token_price_in_strk | FELT |
estimated_fee_in_strk | FELT |
estimated_fee_in_gas_token | FELT |
suggested_max_fee_in_strk | FELT |
suggested_max_fee_in_gas_token | FELT |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/components.d.ts:99
BuildDeployTransactionResponse​
Ƭ BuildDeployTransactionResponse: Object
Type declaration​
Name | Type |
---|---|
type | "deploy" |
deployment | ACCOUNT_DEPLOYMENT_DATA |
parameters | EXECUTION_PARAMETERS |
fee | FEE_ESTIMATE |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/nonspec.d.ts:7
BuildInvokeTransactionResponse​
Ƭ BuildInvokeTransactionResponse: Object
Type declaration​
Name | Type |
---|---|
type | "invoke" |
typed_data | OutsideExecutionTypedData |
parameters | EXECUTION_PARAMETERS |
fee | FEE_ESTIMATE |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/nonspec.d.ts:13
BuildDeployAndInvokeTransactionResponse​
Ƭ BuildDeployAndInvokeTransactionResponse: Object
Type declaration​
Name | Type |
---|---|
type | "deploy_and_invoke" |
deployment | ACCOUNT_DEPLOYMENT_DATA |
typed_data | OutsideExecutionTypedData |
parameters | EXECUTION_PARAMETERS |
fee | FEE_ESTIMATE |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/nonspec.d.ts:19
BuildTransactionResponse​
Ƭ BuildTransactionResponse: BuildDeployTransactionResponse
| BuildInvokeTransactionResponse
| BuildDeployAndInvokeTransactionResponse
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/nonspec.d.ts:26
ExecuteResponse​
Ƭ ExecuteResponse: Object
Type declaration​
Name | Type |
---|---|
tracking_id | TRACKING_ID |
transaction_hash | TXN_HASH |
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/nonspec.d.ts:27
AccountDeploymentData​
Ƭ AccountDeploymentData: ACCOUNT_DEPLOYMENT_DATA
Defined in​
node_modules/starknet-types-08/dist/types/snip-29/nonspec.d.ts:31