Search for a command to run...
Onchain loyalty protocol on Base L2. Launch B20 rewards, earn and redeem tokens, trade P2P, automate with AI agents via REST and MCP.
npx agentcash add https://api.loyalspark.onlineAccept a P2P swap offer (two-phase)
Get activation calldata for an inactive program
Program analytics
Get token balance and tier for a wallet
Cancel an own P2P swap offer
List customers for a program
Record an earn / cashback for a purchase
MCP tool: activate_loyalty_program
MCP tool: cancel_stale_offers
MCP tool: check_voucher_status
MCP tool: create_gift_certificate
MCP tool: create_loyalty_program
MCP tool: create_personalized_offer
MCP tool: create_reward
MCP tool: delete_report
MCP tool: earn_points
MCP tool: export_customers
MCP tool: generate_program_defaults
MCP tool: get_my_profile
MCP tool: get_platform_info
MCP tool: get_platform_stats
MCP tool: get_program_analytics
MCP tool: get_program_workflow_status
MCP tool: get_token_balance
MCP tool: list_gift_certificates
MCP tool: list_loyalty_programs
MCP tool: list_marketplace_offers
MCP tool: list_my_reports
MCP tool: list_rewards
MCP tool: mark_gift_certificate_minted
MCP tool: mint_loyalty_tokens
MCP tool: redeem_reward
MCP tool: register_loyalty_program
MCP tool: revoke_gift_certificate
MCP tool: send_report
MCP tool: transfer_loyalty_tokens
MCP tool: update_program_config
MCP tool: update_program_status
MCP tool: update_report_status
MCP tool: update_reward_status
MCP tool: use_voucher
Update merchant profile
Read merchant profile
Create merchant profile
Mint loyalty tokens (fee-first calls[])
List P2P marketplace offers
Create a P2P swap offer
Set program status in the database
Get calldata to deploy a loyalty token
List loyalty programs
Accept a P2P swap offer (two-phase)
Get balance for one loyalty token
List all loyalty balances for the holder
Cancel own P2P swap offer
Create P2P swap offer
List P2P marketplace offers visible to the holder
Prepare ERC-20 transfer calldata
Redeem a reward
List rewards available to the holder
List vouchers issued to the holder
Prepare reward redemption plan + transfer calldata
Autonomous reward redemption status
MCP tool: accept_p2p_offer
MCP tool: cancel_p2p_offer
MCP tool: claim_gift_certificate
MCP tool: create_p2p_offer
MCP tool: get_my_loyalty_balance
MCP tool: get_recipient_profile
MCP tool: get_reward_workflow_status
MCP tool: list_my_gift_certificates
MCP tool: list_my_loyalty_balances
MCP tool: list_my_vouchers
MCP tool: list_p2p_offers
MCP tool: list_rewards_for_program
MCP tool: lookup_gift_certificate
MCP tool: prepare_loyalty_token_transfer
MCP tool: prepare_reward_redemption
MCP tool: redeem_my_reward
Redeem a reward for a customer
Register a deployed loyalty token in the database
Create a redeemable reward
List rewards for a program
Get transfer calldata for loyalty tokens
Update default cashback / points-per-dollar
List vouchers issued by the merchant
Mark a voucher as used
Generate program defaults from business context
Autonomous program workflow status