← Registry
Per-Transfer Limit
tx-limit@1.0.0 · by HOOKAWAY Labs
Caps the size of any single transfer.
VerifiedMock program
Identity
- Name
- Per-Transfer Limit
- Program ID
- TxLsF6RA…zS2Nsj7o
- Version
- 1.0.0
- Source
- hookaway-mock/tx-limit@1wulfwt
- Upgrade authority
- none (immutable)
- Verification
- source-verified
- Audit status
- none
- CPI behaviour
- none
Trust labels
- VerifiedSource verified against the deployed program and manifest reviewed by HOOKAWAY.
Usage
- Tokens using it
- 2
- Transfers (30d, mock)
- 54.3K
- Transaction success rate
- 87.4%
Success rate = HOOKAWAY-built transactions that confirmed ÷ submitted. Blocks by the hook's own rules are not failures.
Compatibility
- Direct transfer●
- Meridian AMM●
- Orbit CLMM●
- Relay Aggregator●
- Basin Legacy AMMBasin Legacy AMM cannot forward transfer-hook accounts.×
- HOOKAWAY Launch Curve●
Config schema
- maxAmountMax tokens per transferu64
Extra account schema
| Account | Derivation | W | S |
|---|---|---|---|
config Per-mint hook configuration. | pda(hook, ["config", acct[1]:mint]) | · | · |
Errors & restrictions
- 6040Transfer amount exceeds per-transfer limit of {maxAmount}.
- —Each transfer must be ≤ the configured maximum.
Manifest
cross-check passed- ✓ Schema valid (manifest v0.1)
- ✓ Program ID matches mint’s TransferHook extension
- ✓ Upgrade authority matches declared authority
- ✓ Declared accounts match on-chain ExtraAccountMetaList
- ✓ All accounts derivable without off-chain input
{
"$schema": "https://hookaway.dev/schema/manifest/v0.1.json",
"manifestVersion": "0.1",
"name": "tx-limit",
"version": "1.0.0",
"program": "TxLsF6RA32a1n5AwobsuYWu8Xzfs3dj5hw9gzS2Nsj7o",
"programAuthority": null,
"description": "Caps the size of any single transfer.",
"source": {
"repo": "https://github.com/hookaway-mock/tx-limit",
"commit": "1wulfwt",
"verifiedBuild": true
},
"config": {
"fields": [
{
"key": "maxAmount",
"type": "u64",
"description": "Max tokens per transfer"
}
]
},
"accounts": [
{
"name": "config",
"derivation": {
"kind": "pda",
"programId": "hook",
"seeds": [
{
"kind": "literal",
"value": "config"
},
{
"kind": "account",
"index": 1,
"label": "mint"
}
]
},
"writable": false,
"signer": false,
"description": "Per-mint hook configuration."
}
],
"compatibility": {
"transfer": true,
"venues": "any-hook-aware",
"maxExtraAccounts": 1
},
"transaction": {
"computeUnits": 15500,
"requiresLookupTable": false,
"cpi": "none"
},
"simulation": {
"adapter": "tx-limit"
},
"explain": {
"6040": "Transfer amount exceeds per-transfer limit of {maxAmount}."
},
"restrictions": [
"Each transfer must be ≤ the configured maximum."
]
}Tokens using it (2)