diff --git a/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_buy_token.WowBuyTokenAction.html b/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_buy_token.WowBuyTokenAction.html index f480467..734b2c3 100644 --- a/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_buy_token.WowBuyTokenAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_buy_token.WowBuyTokenAction.html @@ -1,15 +1,15 @@ WowBuyTokenAction | @coinbase/cdp-agentkit-core

Zora Wow buy token action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { amountEthInWei: ZodString; contractAddress: ZodString },
    "strip",
    ZodTypeAny,
    { amountEthInWei: string; contractAddress: string },
    { amountEthInWei: string; contractAddress: string },
> = WowBuyTokenInput

Schema for validating action arguments

-
description: string = WOW_BUY_TOKEN_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: { amountEthInWei: string; contractAddress: string },
) => Promise<string> = wowBuyToken

The function to execute for this action

+
description: string = WOW_BUY_TOKEN_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: { amountEthInWei: string; contractAddress: string },
) => Promise<string> = wowBuyToken

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: { amountEthInWei: string; contractAddress: string },
      ): Promise<string>
    • Buys a Zora Wow ERC20 memecoin with ETH.

      Parameters

      • wallet: Wallet

        The wallet to create the token from.

      • args: { amountEthInWei: string; contractAddress: string }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the token purchase details.

      -
name: string = "wow_buy_token"

The name of the action

-
+
name: string = "wow_buy_token"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_create_token.WowCreateTokenAction.html b/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_create_token.WowCreateTokenAction.html index 5dad91d..fd79eae 100644 --- a/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_create_token.WowCreateTokenAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_create_token.WowCreateTokenAction.html @@ -1,15 +1,15 @@ WowCreateTokenAction | @coinbase/cdp-agentkit-core

Zora Wow create token action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { name: ZodString; symbol: ZodString; tokenUri: ZodOptional<ZodString> },
    "strip",
    ZodTypeAny,
    { name: string; symbol: string; tokenUri?: string },
    { name: string; symbol: string; tokenUri?: string },
> = WowCreateTokenInput

Schema for validating action arguments

-
description: string = WOW_CREATE_TOKEN_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: { name: string; symbol: string; tokenUri?: string },
) => Promise<string> = wowCreateToken

The function to execute for this action

+
description: string = WOW_CREATE_TOKEN_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: { name: string; symbol: string; tokenUri?: string },
) => Promise<string> = wowCreateToken

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: { name: string; symbol: string; tokenUri?: string },
      ): Promise<string>
    • Creates a Zora Wow ERC20 memecoin.

      Parameters

      • wallet: Wallet

        The wallet to create the token from.

      • args: { name: string; symbol: string; tokenUri?: string }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the token creation details.

      -
name: string = "wow_create_token"

The name of the action

-
+
name: string = "wow_create_token"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_sell_token.WowSellTokenAction.html b/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_sell_token.WowSellTokenAction.html index b6eb1d1..f1cf900 100644 --- a/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_sell_token.WowSellTokenAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_defi_wow_actions_sell_token.WowSellTokenAction.html @@ -1,15 +1,15 @@ WowSellTokenAction | @coinbase/cdp-agentkit-core

Zora Wow sell token action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { amountTokensInWei: ZodString; contractAddress: ZodString },
    "strip",
    ZodTypeAny,
    { amountTokensInWei: string; contractAddress: string },
    { amountTokensInWei: string; contractAddress: string },
> = WowSellTokenInput

Schema for validating action arguments

-
description: string = WOW_SELL_TOKEN_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: { amountTokensInWei: string; contractAddress: string },
) => Promise<string> = wowSellToken

The function to execute for this action

+
description: string = WOW_SELL_TOKEN_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: { amountTokensInWei: string; contractAddress: string },
) => Promise<string> = wowSellToken

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: { amountTokensInWei: string; contractAddress: string },
      ): Promise<string>
    • Sells WOW tokens for ETH.

      Parameters

      • wallet: Wallet

        The wallet to sell the tokens from.

      • args: { amountTokensInWei: string; contractAddress: string }

        The input arguments for the action.

      Returns Promise<string>

      A message confirming the sale with the transaction hash.

      -
name: string = "wow_sell_token"

The name of the action

-
+
name: string = "wow_sell_token"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_deploy_nft.DeployNftAction.html b/cdp-agentkit-core/classes/actions_cdp_deploy_nft.DeployNftAction.html index 021cbec..5944eb5 100644 --- a/cdp-agentkit-core/classes/actions_cdp_deploy_nft.DeployNftAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_deploy_nft.DeployNftAction.html @@ -1,15 +1,15 @@ DeployNftAction | @coinbase/cdp-agentkit-core

Deploy NFT action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { baseURI: ZodString; name: ZodString; symbol: ZodString },
    "strip",
    ZodTypeAny,
    { baseURI: string; name: string; symbol: string },
    { baseURI: string; name: string; symbol: string },
> = DeployNftInput

Schema for validating action arguments

-
description: string = DEPLOY_NFT_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: { baseURI: string; name: string; symbol: string },
) => Promise<string> = deployNft

The function to execute for this action

+
description: string = DEPLOY_NFT_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: { baseURI: string; name: string; symbol: string },
) => Promise<string> = deployNft

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: { baseURI: string; name: string; symbol: string },
      ): Promise<string>
    • Deploys an NFT (ERC-721) token collection onchain from the wallet.

      Parameters

      • wallet: Wallet

        The wallet to deploy the NFT from.

      • args: { baseURI: string; name: string; symbol: string }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the NFT token deployment details.

      -
name: string = "deploy_nft"

The name of the action

-
+
name: string = "deploy_nft"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_deploy_token.DeployTokenAction.html b/cdp-agentkit-core/classes/actions_cdp_deploy_token.DeployTokenAction.html index c158bbb..4007a90 100644 --- a/cdp-agentkit-core/classes/actions_cdp_deploy_token.DeployTokenAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_deploy_token.DeployTokenAction.html @@ -1,15 +1,15 @@ DeployTokenAction | @coinbase/cdp-agentkit-core

Deploy token action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    {
        name: ZodString;
        symbol: ZodString;
        totalSupply: ZodType<Amount, ZodTypeDef, Amount>;
    },
    "strip",
    ZodTypeAny,
    { name: string; symbol: string; totalSupply: Amount },
    { name: string; symbol: string; totalSupply: Amount },
> = DeployTokenInput

Schema for validating action arguments

-
description: string = DEPLOY_TOKEN_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: { name: string; symbol: string; totalSupply: Amount },
) => Promise<string> = deployToken

The function to execute for this action

+
description: string = DEPLOY_TOKEN_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: { name: string; symbol: string; totalSupply: Amount },
) => Promise<string> = deployToken

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: { name: string; symbol: string; totalSupply: Amount },
      ): Promise<string>
    • Deploys an ERC20 token smart contract.

      Parameters

      • wallet: Wallet

        The wallet to deploy the Token from.

      • args: { name: string; symbol: string; totalSupply: Amount }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the deployed token contract address and details.

      -
name: string = "deploy_token"

The name of the action

-
+
name: string = "deploy_token"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_get_balance.GetBalanceAction.html b/cdp-agentkit-core/classes/actions_cdp_get_balance.GetBalanceAction.html index 3f1bde9..a017ddd 100644 --- a/cdp-agentkit-core/classes/actions_cdp_get_balance.GetBalanceAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_get_balance.GetBalanceAction.html @@ -1,15 +1,15 @@ GetBalanceAction | @coinbase/cdp-agentkit-core

Get wallet balance action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { assetId: ZodString },
    "strip",
    ZodTypeAny,
    { assetId: string },
    { assetId: string },
> = GetBalanceInput

Schema for validating action arguments

-
description: string = GET_BALANCE_PROMPT

A description of what the action does

-
func: (wallet: Wallet, args: { assetId: string }) => Promise<string> = getBalance

The function to execute for this action

+
description: string = GET_BALANCE_PROMPT

A description of what the action does

+
func: (wallet: Wallet, args: { assetId: string }) => Promise<string> = getBalance

The function to execute for this action

Type declaration

    • (wallet: Wallet, args: { assetId: string }): Promise<string>
    • Gets balance for all addresses in the wallet for a given asset.

      Parameters

      • wallet: Wallet

        The wallet to get the balance for.

      • args: { assetId: string }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the balance information.

      -
name: string = "get_balance"

The name of the action

-
+
name: string = "get_balance"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_get_wallet_details.GetWalletDetailsAction.html b/cdp-agentkit-core/classes/actions_cdp_get_wallet_details.GetWalletDetailsAction.html index 121b1d3..735e4bf 100644 --- a/cdp-agentkit-core/classes/actions_cdp_get_wallet_details.GetWalletDetailsAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_get_wallet_details.GetWalletDetailsAction.html @@ -1,15 +1,15 @@ GetWalletDetailsAction | @coinbase/cdp-agentkit-core

Get wallet details action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<{}, "strip", ZodTypeAny, {}, {}> = GetWalletDetailsInput

Schema for validating action arguments

-
description: string = "This tool will get details about the MPC Wallet."

A description of what the action does

-
func: (wallet: Wallet, _: {}) => Promise<string> = getWalletDetails

The function to execute for this action

+
description: string = "This tool will get details about the MPC Wallet."

A description of what the action does

+
func: (wallet: Wallet, _: {}) => Promise<string> = getWalletDetails

The function to execute for this action

Type declaration

    • (wallet: Wallet, _: {}): Promise<string>
    • Gets a wallet's details.

      Parameters

      • wallet: Wallet

        The wallet to get details from.

      • _: {}

        The input arguments for the action.

      Returns Promise<string>

      A message containing the wallet details.

      -
name: string = "get_wallet_details"

The name of the action

-
+
name: string = "get_wallet_details"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_mint_nft.MintNftAction.html b/cdp-agentkit-core/classes/actions_cdp_mint_nft.MintNftAction.html index 83b1747..d0748b3 100644 --- a/cdp-agentkit-core/classes/actions_cdp_mint_nft.MintNftAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_mint_nft.MintNftAction.html @@ -1,15 +1,15 @@ MintNftAction | @coinbase/cdp-agentkit-core

Mint NFT action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { contractAddress: ZodString; destination: ZodString },
    "strip",
    ZodTypeAny,
    { contractAddress: string; destination: string },
    { contractAddress: string; destination: string },
> = MintNftInput

Schema for validating action arguments

-
description: string = MINT_NFT_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: { contractAddress: string; destination: string },
) => Promise<string> = mintNft

The function to execute for this action

+
description: string = MINT_NFT_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: { contractAddress: string; destination: string },
) => Promise<string> = mintNft

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: { contractAddress: string; destination: string },
      ): Promise<string>
    • Mints an NFT (ERC-721) to a specified destination address onchain.

      Parameters

      • wallet: Wallet

        The wallet to mint the NFT from.

      • args: { contractAddress: string; destination: string }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the NFT mint details.

      -
name: string = "mint_nft"

The name of the action

-
+
name: string = "mint_nft"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_register_basename.RegisterBasenameAction.html b/cdp-agentkit-core/classes/actions_cdp_register_basename.RegisterBasenameAction.html index 3cb9c24..ed2fe53 100644 --- a/cdp-agentkit-core/classes/actions_cdp_register_basename.RegisterBasenameAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_register_basename.RegisterBasenameAction.html @@ -1,15 +1,15 @@ RegisterBasenameAction | @coinbase/cdp-agentkit-core

Register Basename action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { amount: ZodDefault<ZodString>; basename: ZodString },
    "strip",
    ZodTypeAny,
    { amount: string; basename: string },
    { amount?: string; basename: string },
> = RegisterBasenameInput

Schema for validating action arguments

-
description: string = REGISTER_BASENAME_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: { amount: string; basename: string },
) => Promise<string> = registerBasename

The function to execute for this action

+
description: string = REGISTER_BASENAME_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: { amount: string; basename: string },
) => Promise<string> = registerBasename

The function to execute for this action

Type declaration

    • (wallet: Wallet, args: { amount: string; basename: string }): Promise<string>
    • Registers a Basename for the agent.

      Parameters

      • wallet: Wallet

        The wallet to register the Basename with.

      • args: { amount: string; basename: string }

        The input arguments for the action.

      Returns Promise<string>

      Confirmation message with the basename.

      -
name: string = "register_basename"

The name of the action

-
+
name: string = "register_basename"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_request_faucet_funds.RequestFaucetFundsAction.html b/cdp-agentkit-core/classes/actions_cdp_request_faucet_funds.RequestFaucetFundsAction.html index 436a87c..61fd0cd 100644 --- a/cdp-agentkit-core/classes/actions_cdp_request_faucet_funds.RequestFaucetFundsAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_request_faucet_funds.RequestFaucetFundsAction.html @@ -1,15 +1,15 @@ RequestFaucetFundsAction | @coinbase/cdp-agentkit-core

Request faucet funds action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { assetId: ZodOptional<ZodString> },
    "strip",
    ZodTypeAny,
    { assetId?: string },
    { assetId?: string },
> = RequestFaucetFundsInput

Schema for validating action arguments

-
description: string = REQUEST_FAUCET_FUNDS_PROMPT

A description of what the action does

-
func: (wallet: Wallet, args: { assetId?: string }) => Promise<string> = requestFaucetFunds

The function to execute for this action

+
description: string = REQUEST_FAUCET_FUNDS_PROMPT

A description of what the action does

+
func: (wallet: Wallet, args: { assetId?: string }) => Promise<string> = requestFaucetFunds

The function to execute for this action

Type declaration

    • (wallet: Wallet, args: { assetId?: string }): Promise<string>
    • Requests test tokens from the faucet for the default address in the wallet.

      Parameters

      • wallet: Wallet

        The wallet to receive tokens.

      • args: { assetId?: string }

        The input arguments for the action.

      Returns Promise<string>

      A confirmation message with transaction details.

      -
name: string = "request_faucet_funds"

The name of the action

-
+
name: string = "request_faucet_funds"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_social_twitter_account_details.AccountDetailsAction.html b/cdp-agentkit-core/classes/actions_cdp_social_twitter_account_details.AccountDetailsAction.html index a2c3e0a..f4e438c 100644 --- a/cdp-agentkit-core/classes/actions_cdp_social_twitter_account_details.AccountDetailsAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_social_twitter_account_details.AccountDetailsAction.html @@ -1,15 +1,15 @@ AccountDetailsAction | @coinbase/cdp-agentkit-core

Account Details Action

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<{}, "strip", ZodTypeAny, {}, {}> = AccountDetailsInput

Schema for validating action arguments

-
description: string = ACCOUNT_DETAILS_PROMPT

A description of what the action does

-
func: (client: TwitterApi, _: {}) => Promise<string> = accountDetails

The function to execute for this action

+
description: string = ACCOUNT_DETAILS_PROMPT

A description of what the action does

+
func: (client: TwitterApi, _: {}) => Promise<string> = accountDetails

The function to execute for this action

Type declaration

    • (client: TwitterApi, _: {}): Promise<string>
    • Get the authenticated Twitter (X) user account details.

      Parameters

      • client: TwitterApi

        The Twitter (X) client used to authenticate with.

      • _: {}

        The input arguments for the action.

      Returns Promise<string>

      A message containing account details for the authenticated user context.

      -
name: string = "account_details"

The name of the action.

-
+
name: string = "account_details"

The name of the action.

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_social_twitter_account_mentions.AccountMentionsAction.html b/cdp-agentkit-core/classes/actions_cdp_social_twitter_account_mentions.AccountMentionsAction.html index beb5df4..ccc161d 100644 --- a/cdp-agentkit-core/classes/actions_cdp_social_twitter_account_mentions.AccountMentionsAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_social_twitter_account_mentions.AccountMentionsAction.html @@ -1,15 +1,15 @@ AccountMentionsAction | @coinbase/cdp-agentkit-core

Account Mentions Action

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { userId: ZodString },
    "strip",
    ZodTypeAny,
    { userId: string },
    { userId: string },
> = AccountMentionsInput

Schema for validating action arguments

-
description: string = ACCOUNT_MENTIONS_PROMPT

A description of what the action does

-
func: (client: TwitterApi, args: { userId: string }) => Promise<string> = accountMentions

The function to execute for this action

+
description: string = ACCOUNT_MENTIONS_PROMPT

A description of what the action does

+
func: (client: TwitterApi, args: { userId: string }) => Promise<string> = accountMentions

The function to execute for this action

Type declaration

    • (client: TwitterApi, args: { userId: string }): Promise<string>
    • Retrieves mentions for a specified Twitter (X) user.

      Parameters

      • client: TwitterApi

        The Twitter (X) client used to authenticate with.

      • args: { userId: string }

        The input arguments for the action.

      Returns Promise<string>

      A message indicating the success or failure of the mention retrieval.

      -
name: string = "account_mentions"

The name of the action.

-
+
name: string = "account_mentions"

The name of the action.

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_social_twitter_post_tweet.PostTweetAction.html b/cdp-agentkit-core/classes/actions_cdp_social_twitter_post_tweet.PostTweetAction.html index 9c8cdb2..7552813 100644 --- a/cdp-agentkit-core/classes/actions_cdp_social_twitter_post_tweet.PostTweetAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_social_twitter_post_tweet.PostTweetAction.html @@ -1,15 +1,15 @@ PostTweetAction | @coinbase/cdp-agentkit-core

Post Tweet Action

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { tweet: ZodString },
    "strip",
    ZodTypeAny,
    { tweet: string },
    { tweet: string },
> = PostTweetInput

Schema for validating action arguments

-
description: string = POST_TWEET_PROMPT

A description of what the action does

-
func: (client: TwitterApi, args: { tweet: string }) => Promise<string> = postTweet

The function to execute for this action

+
description: string = POST_TWEET_PROMPT

A description of what the action does

+
func: (client: TwitterApi, args: { tweet: string }) => Promise<string> = postTweet

The function to execute for this action

Type declaration

    • (client: TwitterApi, args: { tweet: string }): Promise<string>
    • Posts a tweet on Twitter (X).

      Parameters

      • client: TwitterApi

        The Twitter (X) client used to authenticate with.

      • args: { tweet: string }

        The input arguments for the action.

      Returns Promise<string>

      A message indicating the success or failure of the tweet posting.

      -
name: string = "post_tweet"

The name of the action.

-
+
name: string = "post_tweet"

The name of the action.

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_social_twitter_post_tweet_reply.PostTweetReplyAction.html b/cdp-agentkit-core/classes/actions_cdp_social_twitter_post_tweet_reply.PostTweetReplyAction.html index a1269ef..a7a4895 100644 --- a/cdp-agentkit-core/classes/actions_cdp_social_twitter_post_tweet_reply.PostTweetReplyAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_social_twitter_post_tweet_reply.PostTweetReplyAction.html @@ -1,15 +1,15 @@ PostTweetReplyAction | @coinbase/cdp-agentkit-core

Post Tweet Reply Action

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { tweetId: ZodString; tweetReply: ZodString },
    "strip",
    ZodTypeAny,
    { tweetId: string; tweetReply: string },
    { tweetId: string; tweetReply: string },
> = PostTweetReplyInput

Schema for validating action arguments

-
description: string = POST_TWEET_REPLY_PROMPT

A description of what the action does

-
func: (
    client: TwitterApi,
    args: { tweetId: string; tweetReply: string },
) => Promise<string> = postTweet

The function to execute for this action

+
description: string = POST_TWEET_REPLY_PROMPT

A description of what the action does

+
func: (
    client: TwitterApi,
    args: { tweetId: string; tweetReply: string },
) => Promise<string> = postTweet

The function to execute for this action

Type declaration

    • (
          client: TwitterApi,
          args: { tweetId: string; tweetReply: string },
      ): Promise<string>
    • Posts a reply to a specified tweet on Twitter (X).

      Parameters

      • client: TwitterApi

        The Twitter (X) client used to authenticate with.

      • args: { tweetId: string; tweetReply: string }

        The input arguments for the action.

      Returns Promise<string>

      A message indicating the success or failure of the reply posting.

      -
name: string = "post_tweet_reply"

The name of the action.

-
+
name: string = "post_tweet_reply"

The name of the action.

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_trade.TradeAction.html b/cdp-agentkit-core/classes/actions_cdp_trade.TradeAction.html index 39e9db2..59b3b02 100644 --- a/cdp-agentkit-core/classes/actions_cdp_trade.TradeAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_trade.TradeAction.html @@ -1,15 +1,15 @@ TradeAction | @coinbase/cdp-agentkit-core

Trade action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    {
        amount: ZodType<Amount, ZodTypeDef, Amount>;
        fromAssetId: ZodString;
        toAssetId: ZodString;
    },
    "strip",
    ZodTypeAny,
    { amount: Amount; fromAssetId: string; toAssetId: string },
    { amount: Amount; fromAssetId: string; toAssetId: string },
> = TradeInput

Schema for validating action arguments

-
description: string = TRADE_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: { amount: Amount; fromAssetId: string; toAssetId: string },
) => Promise<string> = trade

The function to execute for this action

+
description: string = TRADE_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: { amount: Amount; fromAssetId: string; toAssetId: string },
) => Promise<string> = trade

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: { amount: Amount; fromAssetId: string; toAssetId: string },
      ): Promise<string>
    • Trades a specified amount of a from asset to a to asset for the wallet.

      Parameters

      • wallet: Wallet

        The wallet to trade the asset from.

      • args: { amount: Amount; fromAssetId: string; toAssetId: string }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the trade details.

      -
name: string = "trade"

The name of the action

-
+
name: string = "trade"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/actions_cdp_transfer.TransferAction.html b/cdp-agentkit-core/classes/actions_cdp_transfer.TransferAction.html index aa6be7d..7ace2ba 100644 --- a/cdp-agentkit-core/classes/actions_cdp_transfer.TransferAction.html +++ b/cdp-agentkit-core/classes/actions_cdp_transfer.TransferAction.html @@ -1,15 +1,15 @@ TransferAction | @coinbase/cdp-agentkit-core

Transfer action.

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    {
        amount: ZodType<Amount, ZodTypeDef, Amount>;
        assetId: ZodString;
        destination: ZodString;
        gasless: ZodDefault<ZodBoolean>;
    },
    "strip",
    ZodTypeAny,
    { amount: Amount; assetId: string; destination: string; gasless: boolean },
    { amount: Amount; assetId: string; destination: string; gasless?: boolean },
> = TransferInput

Schema for validating action arguments

-
description: string = TRANSFER_PROMPT

A description of what the action does

-
func: (
    wallet: Wallet,
    args: {
        amount: Amount;
        assetId: string;
        destination: string;
        gasless: boolean;
    },
) => Promise<string> = transfer

The function to execute for this action

+
description: string = TRANSFER_PROMPT

A description of what the action does

+
func: (
    wallet: Wallet,
    args: {
        amount: Amount;
        assetId: string;
        destination: string;
        gasless: boolean;
    },
) => Promise<string> = transfer

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: {
              amount: Amount;
              assetId: string;
              destination: string;
              gasless: boolean;
          },
      ): Promise<string>
    • Transfers a specified amount of an asset to a destination onchain.

      Parameters

      • wallet: Wallet

        The wallet to transfer the asset from.

      • args: { amount: Amount; assetId: string; destination: string; gasless: boolean }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the transfer details.

      -
name: string = "transfer"

The name of the action

-
+
name: string = "transfer"

The name of the action

+
diff --git a/cdp-agentkit-core/classes/cdp_agentkit.CdpAgentkit.html b/cdp-agentkit-core/classes/cdp_agentkit.CdpAgentkit.html index 6eec38a..8d02ee3 100644 --- a/cdp-agentkit-core/classes/cdp_agentkit.CdpAgentkit.html +++ b/cdp-agentkit-core/classes/cdp_agentkit.CdpAgentkit.html @@ -1,19 +1,19 @@ CdpAgentkit | @coinbase/cdp-agentkit-core

CDP Agentkit

-

Constructors

Constructors

Methods

  • Exports wallet data required to re-instantiate the wallet

    +

Returns CdpAgentkit

Methods

  • Exports wallet data required to re-instantiate the wallet

    Returns Promise<string>

    JSON string of wallet data including wallet_id and seed

    -
  • Configures CDP Agentkit with a Wallet.

    +
+
diff --git a/cdp-agentkit-core/classes/twitter_agentkit.TwitterAgentkit.html b/cdp-agentkit-core/classes/twitter_agentkit.TwitterAgentkit.html index f5426a3..62b8ebd 100644 --- a/cdp-agentkit-core/classes/twitter_agentkit.TwitterAgentkit.html +++ b/cdp-agentkit-core/classes/twitter_agentkit.TwitterAgentkit.html @@ -1,16 +1,16 @@ TwitterAgentkit | @coinbase/cdp-agentkit-core

Twitter Agentkit

-

Constructors

Constructors

Methods

Constructors

  • Initializes a new instance of TwitterAgentkit with the provided options. If no options are provided, it attempts to load the required environment variables.

    Parameters

    • Optionaloptions: {
          accessToken: string;
          accessTokenSecret: string;
          apiKey: string;
          apiSecret: string;
      }

      Optional. The configuration options for the TwitterAgentkit.

    Returns TwitterAgentkit

    An error if the provided options are invalid or if the environment variables cannot be loaded.

    -

Methods

Methods

  • Validates the provided options for the TwitterAgentkit.

    +
  • Validates the provided options for the TwitterAgentkit.

    Parameters

    • options: {
          accessToken: string;
          accessTokenSecret: string;
          apiKey: string;
          apiSecret: string;
      }

      The options to validate.

    Returns boolean

    True if the options are valid, otherwise false.

    -
+
diff --git a/cdp-agentkit-core/functions/actions_cdp.getAllCdpActions.html b/cdp-agentkit-core/functions/actions_cdp.getAllCdpActions.html index 93a1745..a2dc0a0 100644 --- a/cdp-agentkit-core/functions/actions_cdp.getAllCdpActions.html +++ b/cdp-agentkit-core/functions/actions_cdp.getAllCdpActions.html @@ -3,4 +3,4 @@

Returns CdpAction<CdpActionSchemaAny>[]

-
+
diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow.getAllWowActions.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow.getAllWowActions.html index 9a1e80b..fa590fa 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow.getAllWowActions.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow.getAllWowActions.html @@ -1,4 +1,4 @@ getAllWowActions | @coinbase/cdp-agentkit-core
+
diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_buy_token.wowBuyToken.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_buy_token.wowBuyToken.html index 3b2b906..c3277a3 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_buy_token.wowBuyToken.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_buy_token.wowBuyToken.html @@ -2,4 +2,4 @@

Parameters

Returns Promise<string>

A message containing the token purchase details.

-
+
diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_create_token.wowCreateToken.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_create_token.wowCreateToken.html index 9de1e41..8a54567 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_create_token.wowCreateToken.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_create_token.wowCreateToken.html @@ -2,4 +2,4 @@

Parameters

Returns Promise<string>

A message containing the token creation details.

-
+
diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_sell_token.wowSellToken.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_sell_token.wowSellToken.html index 66659af..b458f40 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_sell_token.wowSellToken.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_actions_sell_token.wowSellToken.html @@ -2,4 +2,4 @@

Parameters

Returns Promise<string>

A message confirming the sale with the transaction hash.

-
+
diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_constants.getFactoryAddress.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_constants.getFactoryAddress.html index 1f6ad18..ef4f71a 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_constants.getFactoryAddress.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_constants.getFactoryAddress.html @@ -2,4 +2,4 @@

Parameters

Returns string

The contract address for the specified network

Error if the specified network is not supported

-
+
diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.createPriceInfo.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.createPriceInfo.html index 39ec538..52152b4 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.createPriceInfo.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.createPriceInfo.html @@ -2,4 +2,4 @@

Parameters

Returns PriceInfo

A PriceInfo object containing the amount in ETH and USD

-
+
diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.exactInputSingle.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.exactInputSingle.html index c6f0b12..cfa7a11 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.exactInputSingle.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.exactInputSingle.html @@ -5,4 +5,4 @@
  • amountIn: string

    Amount of tokens to swap (in Wei)

  • fee: string

    Fee for the swap

  • Returns Promise<number>

    Amount of tokens to receive (in Wei)

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getHasGraduated.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getHasGraduated.html index 0dcec5e..9f28f92 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getHasGraduated.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getHasGraduated.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<boolean>

    True if the token has graduated, false otherwise

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getPoolAddress.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getPoolAddress.html index 2603483..86103c9 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getPoolAddress.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getPoolAddress.html @@ -1,4 +1,4 @@ getPoolAddress | @coinbase/cdp-agentkit-core
    • Fetches the uniswap v3 pool address for a given token.

      Parameters

      • tokenAddress: string

        The address of the token contract

      Returns Promise<string>

      The uniswap v3 pool address associated with the token

      -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getPoolInfo.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getPoolInfo.html index ddf3104..7fc5632 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getPoolInfo.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getPoolInfo.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<PoolInfo>

    A PoolInfo object containing pool details

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getUniswapQuote.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getUniswapQuote.html index 8be89ee..ac3fd04 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getUniswapQuote.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_uniswap_utils.getUniswapQuote.html @@ -4,4 +4,4 @@
  • amount: number

    Amount of tokens (in Wei)

  • quoteType: "buy" | "sell"

    'buy' or 'sell'

  • Returns Promise<Quote>

    A Quote object containing quote details

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getBuyQuote.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getBuyQuote.html index 870a8be..49e0511 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getBuyQuote.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getBuyQuote.html @@ -3,4 +3,4 @@
  • tokenAddress: string

    Address of the token contract

  • amountEthInWei: string

    Amount of ETH to buy (in wei)

  • Returns Promise<string>

    The buy quote amount

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getCurrentSupply.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getCurrentSupply.html index c1556d5..c4b5814 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getCurrentSupply.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getCurrentSupply.html @@ -1,4 +1,4 @@ getCurrentSupply | @coinbase/cdp-agentkit-core
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getSellQuote.html b/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getSellQuote.html index aed4718..be2df99 100644 --- a/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getSellQuote.html +++ b/cdp-agentkit-core/functions/actions_cdp_defi_wow_utils.getSellQuote.html @@ -3,4 +3,4 @@
  • tokenAddress: string

    Address of the token contract

  • amountTokensInWei: string

    Amount of tokens to sell (in wei)

  • Returns Promise<string>

    The sell quote amount

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_deploy_nft.deployNft.html b/cdp-agentkit-core/functions/actions_cdp_deploy_nft.deployNft.html index 3cdbd45..ceb1e6f 100644 --- a/cdp-agentkit-core/functions/actions_cdp_deploy_nft.deployNft.html +++ b/cdp-agentkit-core/functions/actions_cdp_deploy_nft.deployNft.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message containing the NFT token deployment details.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_deploy_token.deployToken.html b/cdp-agentkit-core/functions/actions_cdp_deploy_token.deployToken.html index b41f0c9..2cfac8c 100644 --- a/cdp-agentkit-core/functions/actions_cdp_deploy_token.deployToken.html +++ b/cdp-agentkit-core/functions/actions_cdp_deploy_token.deployToken.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message containing the deployed token contract address and details.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_get_balance.getBalance.html b/cdp-agentkit-core/functions/actions_cdp_get_balance.getBalance.html index d2ae1c9..ad82fe5 100644 --- a/cdp-agentkit-core/functions/actions_cdp_get_balance.getBalance.html +++ b/cdp-agentkit-core/functions/actions_cdp_get_balance.getBalance.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message containing the balance information.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_get_wallet_details.getWalletDetails.html b/cdp-agentkit-core/functions/actions_cdp_get_wallet_details.getWalletDetails.html index 70989a6..a817884 100644 --- a/cdp-agentkit-core/functions/actions_cdp_get_wallet_details.getWalletDetails.html +++ b/cdp-agentkit-core/functions/actions_cdp_get_wallet_details.getWalletDetails.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message containing the wallet details.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_mint_nft.mintNft.html b/cdp-agentkit-core/functions/actions_cdp_mint_nft.mintNft.html index 8b565e0..a277921 100644 --- a/cdp-agentkit-core/functions/actions_cdp_mint_nft.mintNft.html +++ b/cdp-agentkit-core/functions/actions_cdp_mint_nft.mintNft.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message containing the NFT mint details.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_register_basename.registerBasename.html b/cdp-agentkit-core/functions/actions_cdp_register_basename.registerBasename.html index 3442e57..6827315 100644 --- a/cdp-agentkit-core/functions/actions_cdp_register_basename.registerBasename.html +++ b/cdp-agentkit-core/functions/actions_cdp_register_basename.registerBasename.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    Confirmation message with the basename.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_request_faucet_funds.requestFaucetFunds.html b/cdp-agentkit-core/functions/actions_cdp_request_faucet_funds.requestFaucetFunds.html index 1d65a70..d190eb9 100644 --- a/cdp-agentkit-core/functions/actions_cdp_request_faucet_funds.requestFaucetFunds.html +++ b/cdp-agentkit-core/functions/actions_cdp_request_faucet_funds.requestFaucetFunds.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A confirmation message with transaction details.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_social_twitter.getAllTwitterActions.html b/cdp-agentkit-core/functions/actions_cdp_social_twitter.getAllTwitterActions.html index f7cdf01..24e90bd 100644 --- a/cdp-agentkit-core/functions/actions_cdp_social_twitter.getAllTwitterActions.html +++ b/cdp-agentkit-core/functions/actions_cdp_social_twitter.getAllTwitterActions.html @@ -1,3 +1,3 @@ getAllTwitterActions | @coinbase/cdp-agentkit-core
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_social_twitter_account_details.accountDetails.html b/cdp-agentkit-core/functions/actions_cdp_social_twitter_account_details.accountDetails.html index fb3ef5c..2f50a3f 100644 --- a/cdp-agentkit-core/functions/actions_cdp_social_twitter_account_details.accountDetails.html +++ b/cdp-agentkit-core/functions/actions_cdp_social_twitter_account_details.accountDetails.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message containing account details for the authenticated user context.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_social_twitter_account_mentions.accountMentions.html b/cdp-agentkit-core/functions/actions_cdp_social_twitter_account_mentions.accountMentions.html index 61f95a4..4d55fc3 100644 --- a/cdp-agentkit-core/functions/actions_cdp_social_twitter_account_mentions.accountMentions.html +++ b/cdp-agentkit-core/functions/actions_cdp_social_twitter_account_mentions.accountMentions.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message indicating the success or failure of the mention retrieval.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_social_twitter_post_tweet.postTweet.html b/cdp-agentkit-core/functions/actions_cdp_social_twitter_post_tweet.postTweet.html index a6d5124..b50c6e2 100644 --- a/cdp-agentkit-core/functions/actions_cdp_social_twitter_post_tweet.postTweet.html +++ b/cdp-agentkit-core/functions/actions_cdp_social_twitter_post_tweet.postTweet.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message indicating the success or failure of the tweet posting.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_social_twitter_post_tweet_reply.postTweet.html b/cdp-agentkit-core/functions/actions_cdp_social_twitter_post_tweet_reply.postTweet.html index 0e3690e..6640fc2 100644 --- a/cdp-agentkit-core/functions/actions_cdp_social_twitter_post_tweet_reply.postTweet.html +++ b/cdp-agentkit-core/functions/actions_cdp_social_twitter_post_tweet_reply.postTweet.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message indicating the success or failure of the reply posting.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_trade.trade.html b/cdp-agentkit-core/functions/actions_cdp_trade.trade.html index c064bed..541b74c 100644 --- a/cdp-agentkit-core/functions/actions_cdp_trade.trade.html +++ b/cdp-agentkit-core/functions/actions_cdp_trade.trade.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message containing the trade details.

    -
    +
    diff --git a/cdp-agentkit-core/functions/actions_cdp_transfer.transfer.html b/cdp-agentkit-core/functions/actions_cdp_transfer.transfer.html index a83b5cb..477d8a5 100644 --- a/cdp-agentkit-core/functions/actions_cdp_transfer.transfer.html +++ b/cdp-agentkit-core/functions/actions_cdp_transfer.transfer.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    A message containing the transfer details.

    -
    +
    diff --git a/cdp-agentkit-core/interfaces/actions_cdp_cdp_action.CdpAction.html b/cdp-agentkit-core/interfaces/actions_cdp_cdp_action.CdpAction.html index b4a3af6..86bc25d 100644 --- a/cdp-agentkit-core/interfaces/actions_cdp_cdp_action.CdpAction.html +++ b/cdp-agentkit-core/interfaces/actions_cdp_cdp_action.CdpAction.html @@ -1,10 +1,10 @@ CdpAction | @coinbase/cdp-agentkit-core

    Represents the base structure for CDP Actions.

    -
    interface CdpAction<TActionSchema extends CdpActionSchemaAny> {
        argsSchema: TActionSchema;
        description: string;
        func:
            | (wallet: Wallet, args: TypeOf<TActionSchema>) => Promise<string>
            | (args: TypeOf<TActionSchema>) => Promise<string>;
        name: string;
    }

    Type Parameters

    Implemented by

    Properties

    interface CdpAction<TActionSchema extends CdpActionSchemaAny> {
        argsSchema: TActionSchema;
        description: string;
        func:
            | (wallet: Wallet, args: TypeOf<TActionSchema>) => Promise<string>
            | (args: TypeOf<TActionSchema>) => Promise<string>;
        name: string;
    }

    Type Parameters

    Implemented by

    Properties

    argsSchema: TActionSchema

    Schema for validating action arguments

    -
    description: string

    A description of what the action does

    -
    func:
        | (wallet: Wallet, args: TypeOf<TActionSchema>) => Promise<string>
        | (args: TypeOf<TActionSchema>) => Promise<string>

    The function to execute for this action

    -
    name: string

    The name of the action

    -
    +
    description: string

    A description of what the action does

    +
    func:
        | (wallet: Wallet, args: TypeOf<TActionSchema>) => Promise<string>
        | (args: TypeOf<TActionSchema>) => Promise<string>

    The function to execute for this action

    +
    name: string

    The name of the action

    +
    diff --git a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Balance.html b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Balance.html index b89bfa8..d0655c0 100644 --- a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Balance.html +++ b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Balance.html @@ -1,3 +1,3 @@ -Balance | @coinbase/cdp-agentkit-core
    interface Balance {
        erc20z: string;
        weth: string;
    }

    Properties

    erc20z +Balance | @coinbase/cdp-agentkit-core
    +

    Properties

    erc20z: string
    weth: string
    diff --git a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.PoolInfo.html b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.PoolInfo.html index afaba60..bb44095 100644 --- a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.PoolInfo.html +++ b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.PoolInfo.html @@ -1,8 +1,8 @@ -PoolInfo | @coinbase/cdp-agentkit-core
    interface PoolInfo {
        balance0: number;
        balance1: number;
        fee: number;
        liquidity: number;
        sqrtPriceX96: number;
        token0: string;
        token1: string;
    }

    Properties

    balance0 +PoolInfo | @coinbase/cdp-agentkit-core
    +

    Properties

    balance0: number
    balance1: number
    fee: number
    liquidity: number
    sqrtPriceX96: number
    token0: string
    token1: string
    diff --git a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Price.html b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Price.html index d8ac98e..e01514d 100644 --- a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Price.html +++ b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Price.html @@ -1,3 +1,3 @@ -Price | @coinbase/cdp-agentkit-core
    interface Price {
        perToken: PriceInfo;
        total: PriceInfo;
    }

    Properties

    perToken +Price | @coinbase/cdp-agentkit-core
    +

    Properties

    perToken: PriceInfo
    total: PriceInfo
    diff --git a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.PriceInfo.html b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.PriceInfo.html index 46a0a1f..010097c 100644 --- a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.PriceInfo.html +++ b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.PriceInfo.html @@ -1,3 +1,3 @@ -PriceInfo | @coinbase/cdp-agentkit-core
    interface PriceInfo {
        eth: string;
        usd: number;
    }

    Properties

    eth +PriceInfo | @coinbase/cdp-agentkit-core
    +

    Properties

    eth: string
    usd: number
    diff --git a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Quote.html b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Quote.html index dfef26f..cb1643a 100644 --- a/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Quote.html +++ b/cdp-agentkit-core/interfaces/actions_cdp_defi_wow_uniswap_utils.Quote.html @@ -1,6 +1,6 @@ -Quote | @coinbase/cdp-agentkit-core
    interface Quote {
        amountIn: number;
        amountOut: number;
        balance: null | Balance;
        error: null | string;
        fee: null | number;
    }

    Properties

    amountIn +Quote | @coinbase/cdp-agentkit-core
    interface Quote {
        amountIn: number;
        amountOut: number;
        balance: null | Balance;
        error: null | string;
        fee: null | number;
    }

    Properties

    amountIn: number
    amountOut: number
    balance: null | Balance
    error: null | string
    fee: null | number
    +

    Properties

    amountIn: number
    amountOut: number
    balance: null | Balance
    error: null | string
    fee: null | number
    diff --git a/cdp-agentkit-core/interfaces/actions_cdp_social_twitter_twitter_action.TwitterAction.html b/cdp-agentkit-core/interfaces/actions_cdp_social_twitter_twitter_action.TwitterAction.html index 6cbc797..694ec49 100644 --- a/cdp-agentkit-core/interfaces/actions_cdp_social_twitter_twitter_action.TwitterAction.html +++ b/cdp-agentkit-core/interfaces/actions_cdp_social_twitter_twitter_action.TwitterAction.html @@ -1,10 +1,10 @@ TwitterAction | @coinbase/cdp-agentkit-core

    Represents the base structure for Twitter (X) Actions.

    -
    interface TwitterAction<TActionSchema extends TwitterActionSchemaAny> {
        argsSchema: TActionSchema;
        description: string;
        func:
            | (client: TwitterApi, args: TypeOf<TActionSchema>) => Promise<string>
            | (args: TypeOf<TActionSchema>) => Promise<string>;
        name: string;
    }

    Type Parameters

    Implemented by

    Properties

    interface TwitterAction<TActionSchema extends TwitterActionSchemaAny> {
        argsSchema: TActionSchema;
        description: string;
        func:
            | (client: TwitterApi, args: TypeOf<TActionSchema>) => Promise<string>
            | (args: TypeOf<TActionSchema>) => Promise<string>;
        name: string;
    }

    Type Parameters

    Implemented by

    Properties

    argsSchema: TActionSchema

    Schema for validating action arguments

    -
    description: string

    A description of what the action does

    -
    func:
        | (client: TwitterApi, args: TypeOf<TActionSchema>) => Promise<string>
        | (args: TypeOf<TActionSchema>) => Promise<string>

    The function to execute for this action

    -
    name: string

    The name of the action.

    -
    +
    description: string

    A description of what the action does

    +
    func:
        | (client: TwitterApi, args: TypeOf<TActionSchema>) => Promise<string>
        | (args: TypeOf<TActionSchema>) => Promise<string>

    The function to execute for this action

    +
    name: string

    The name of the action.

    +
    diff --git a/cdp-agentkit-core/types/actions_cdp_cdp_action.CdpActionSchemaAny.html b/cdp-agentkit-core/types/actions_cdp_cdp_action.CdpActionSchemaAny.html index 0d3e213..1d37e47 100644 --- a/cdp-agentkit-core/types/actions_cdp_cdp_action.CdpActionSchemaAny.html +++ b/cdp-agentkit-core/types/actions_cdp_cdp_action.CdpActionSchemaAny.html @@ -1 +1 @@ -CdpActionSchemaAny | @coinbase/cdp-agentkit-core
    CdpActionSchemaAny: z.ZodObject<any, any, any, any>
    +CdpActionSchemaAny | @coinbase/cdp-agentkit-core
    CdpActionSchemaAny: z.ZodObject<any, any, any, any>
    diff --git a/cdp-agentkit-core/types/actions_cdp_social_twitter_twitter_action.TwitterActionSchemaAny.html b/cdp-agentkit-core/types/actions_cdp_social_twitter_twitter_action.TwitterActionSchemaAny.html index 95ce740..9e20291 100644 --- a/cdp-agentkit-core/types/actions_cdp_social_twitter_twitter_action.TwitterActionSchemaAny.html +++ b/cdp-agentkit-core/types/actions_cdp_social_twitter_twitter_action.TwitterActionSchemaAny.html @@ -1 +1 @@ -TwitterActionSchemaAny | @coinbase/cdp-agentkit-core
    TwitterActionSchemaAny: z.ZodObject<any, any, any, any>
    +TwitterActionSchemaAny | @coinbase/cdp-agentkit-core
    TwitterActionSchemaAny: z.ZodObject<any, any, any, any>
    diff --git a/cdp-agentkit-core/variables/actions_cdp.CDP_ACTIONS.html b/cdp-agentkit-core/variables/actions_cdp.CDP_ACTIONS.html index 33c4b06..1a3b10b 100644 --- a/cdp-agentkit-core/variables/actions_cdp.CDP_ACTIONS.html +++ b/cdp-agentkit-core/variables/actions_cdp.CDP_ACTIONS.html @@ -1 +1 @@ -CDP_ACTIONS | @coinbase/cdp-agentkit-core
    CDP_ACTIONS: CdpAction<CdpActionSchemaAny>[] = ...
    +CDP_ACTIONS | @coinbase/cdp-agentkit-core
    CDP_ACTIONS: CdpAction<CdpActionSchemaAny>[] = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow.WOW_ACTIONS.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow.WOW_ACTIONS.html index 5de3bc9..772a685 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow.WOW_ACTIONS.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow.WOW_ACTIONS.html @@ -1 +1 @@ -WOW_ACTIONS | @coinbase/cdp-agentkit-core
    WOW_ACTIONS: CdpAction<CdpActionSchemaAny>[] = ...
    +WOW_ACTIONS | @coinbase/cdp-agentkit-core
    WOW_ACTIONS: CdpAction<CdpActionSchemaAny>[] = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_buy_token.WowBuyTokenInput.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_buy_token.WowBuyTokenInput.html index 3553f56..6821468 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_buy_token.WowBuyTokenInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_buy_token.WowBuyTokenInput.html @@ -1,2 +1,2 @@ WowBuyTokenInput | @coinbase/cdp-agentkit-core
    WowBuyTokenInput: ZodObject<
        { amountEthInWei: ZodString; contractAddress: ZodString },
        "strip",
        ZodTypeAny,
        { amountEthInWei: string; contractAddress: string },
        { amountEthInWei: string; contractAddress: string },
    > = ...

    Input schema for buy token action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_create_token.WowCreateTokenInput.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_create_token.WowCreateTokenInput.html index 7c38165..af23679 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_create_token.WowCreateTokenInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_create_token.WowCreateTokenInput.html @@ -1,2 +1,2 @@ WowCreateTokenInput | @coinbase/cdp-agentkit-core
    WowCreateTokenInput: ZodObject<
        { name: ZodString; symbol: ZodString; tokenUri: ZodOptional<ZodString> },
        "strip",
        ZodTypeAny,
        { name: string; symbol: string; tokenUri?: string },
        { name: string; symbol: string; tokenUri?: string },
    > = ...

    Input schema for create token action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_sell_token.WowSellTokenInput.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_sell_token.WowSellTokenInput.html index 6c26f06..6e9ef9e 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_sell_token.WowSellTokenInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_actions_sell_token.WowSellTokenInput.html @@ -1,2 +1,2 @@ WowSellTokenInput | @coinbase/cdp-agentkit-core
    WowSellTokenInput: ZodObject<
        { amountTokensInWei: ZodString; contractAddress: ZodString },
        "strip",
        ZodTypeAny,
        { amountTokensInWei: string; contractAddress: string },
        { amountTokensInWei: string; contractAddress: string },
    > = ...

    Input schema for sell token action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.ADDRESSES.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.ADDRESSES.html index 81e9635..9c0a70a 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.ADDRESSES.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.ADDRESSES.html @@ -1 +1 @@ -ADDRESSES | @coinbase/cdp-agentkit-core
    ADDRESSES: Record<string, Record<string, string>> = ...
    +ADDRESSES | @coinbase/cdp-agentkit-core
    ADDRESSES: Record<string, Record<string, string>> = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.GENERIC_TOKEN_METADATA_URI.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.GENERIC_TOKEN_METADATA_URI.html index 572dd5d..fa7bcde 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.GENERIC_TOKEN_METADATA_URI.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.GENERIC_TOKEN_METADATA_URI.html @@ -1 +1 @@ -GENERIC_TOKEN_METADATA_URI | @coinbase/cdp-agentkit-core
    GENERIC_TOKEN_METADATA_URI: "ipfs://QmY1GqprFYvojCcUEKgqHeDj9uhZD9jmYGrQTfA9vAE78J"
    +GENERIC_TOKEN_METADATA_URI | @coinbase/cdp-agentkit-core
    GENERIC_TOKEN_METADATA_URI: "ipfs://QmY1GqprFYvojCcUEKgqHeDj9uhZD9jmYGrQTfA9vAE78J"
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_ABI.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_ABI.html index a17e50c..bb524af 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_ABI.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_ABI.html @@ -1 +1 @@ -WOW_ABI | @coinbase/cdp-agentkit-core
    WOW_ABI: Abi = ...
    +WOW_ABI | @coinbase/cdp-agentkit-core
    WOW_ABI: Abi = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_FACTORY_ABI.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_FACTORY_ABI.html index 2ecb0be..f3a42b7 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_FACTORY_ABI.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_FACTORY_ABI.html @@ -1 +1 @@ -WOW_FACTORY_ABI | @coinbase/cdp-agentkit-core
    WOW_FACTORY_ABI: Abi = ...
    +WOW_FACTORY_ABI | @coinbase/cdp-agentkit-core
    WOW_FACTORY_ABI: Abi = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_FACTORY_CONTRACT_ADDRESSES.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_FACTORY_CONTRACT_ADDRESSES.html index 07951d4..3402dbc 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_FACTORY_CONTRACT_ADDRESSES.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_constants.WOW_FACTORY_CONTRACT_ADDRESSES.html @@ -1 +1 @@ -WOW_FACTORY_CONTRACT_ADDRESSES | @coinbase/cdp-agentkit-core
    WOW_FACTORY_CONTRACT_ADDRESSES: Record<string, string> = ...
    +WOW_FACTORY_CONTRACT_ADDRESSES | @coinbase/cdp-agentkit-core
    WOW_FACTORY_CONTRACT_ADDRESSES: Record<string, string> = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_uniswap_constants.UNISWAP_QUOTER_ABI.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_uniswap_constants.UNISWAP_QUOTER_ABI.html index 811e69d..80b3723 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_uniswap_constants.UNISWAP_QUOTER_ABI.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_uniswap_constants.UNISWAP_QUOTER_ABI.html @@ -1 +1 @@ -UNISWAP_QUOTER_ABI | @coinbase/cdp-agentkit-core
    UNISWAP_QUOTER_ABI: Abi = ...
    +UNISWAP_QUOTER_ABI | @coinbase/cdp-agentkit-core
    UNISWAP_QUOTER_ABI: Abi = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_defi_wow_uniswap_constants.UNISWAP_V3_ABI.html b/cdp-agentkit-core/variables/actions_cdp_defi_wow_uniswap_constants.UNISWAP_V3_ABI.html index c354dab..5c0bfa6 100644 --- a/cdp-agentkit-core/variables/actions_cdp_defi_wow_uniswap_constants.UNISWAP_V3_ABI.html +++ b/cdp-agentkit-core/variables/actions_cdp_defi_wow_uniswap_constants.UNISWAP_V3_ABI.html @@ -1 +1 @@ -UNISWAP_V3_ABI | @coinbase/cdp-agentkit-core
    UNISWAP_V3_ABI: Abi = ...
    +UNISWAP_V3_ABI | @coinbase/cdp-agentkit-core
    UNISWAP_V3_ABI: Abi = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_deploy_nft.DeployNftInput.html b/cdp-agentkit-core/variables/actions_cdp_deploy_nft.DeployNftInput.html index 307abaf..751cb02 100644 --- a/cdp-agentkit-core/variables/actions_cdp_deploy_nft.DeployNftInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_deploy_nft.DeployNftInput.html @@ -1,2 +1,2 @@ DeployNftInput | @coinbase/cdp-agentkit-core
    DeployNftInput: ZodObject<
        { baseURI: ZodString; name: ZodString; symbol: ZodString },
        "strip",
        ZodTypeAny,
        { baseURI: string; name: string; symbol: string },
        { baseURI: string; name: string; symbol: string },
    > = ...

    Input schema for deploy NFT action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_deploy_token.DeployTokenInput.html b/cdp-agentkit-core/variables/actions_cdp_deploy_token.DeployTokenInput.html index 748aa8f..8836597 100644 --- a/cdp-agentkit-core/variables/actions_cdp_deploy_token.DeployTokenInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_deploy_token.DeployTokenInput.html @@ -1,2 +1,2 @@ DeployTokenInput | @coinbase/cdp-agentkit-core
    DeployTokenInput: ZodObject<
        {
            name: ZodString;
            symbol: ZodString;
            totalSupply: ZodType<Amount, ZodTypeDef, Amount>;
        },
        "strip",
        ZodTypeAny,
        { name: string; symbol: string; totalSupply: Amount },
        { name: string; symbol: string; totalSupply: Amount },
    > = ...

    Input schema for deploy token action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_get_balance.GetBalanceInput.html b/cdp-agentkit-core/variables/actions_cdp_get_balance.GetBalanceInput.html index 273ea87..5b38f9a 100644 --- a/cdp-agentkit-core/variables/actions_cdp_get_balance.GetBalanceInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_get_balance.GetBalanceInput.html @@ -1,2 +1,2 @@ GetBalanceInput | @coinbase/cdp-agentkit-core
    GetBalanceInput: ZodObject<
        { assetId: ZodString },
        "strip",
        ZodTypeAny,
        { assetId: string },
        { assetId: string },
    > = ...

    Input schema for get balance action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_get_wallet_details.GetWalletDetailsInput.html b/cdp-agentkit-core/variables/actions_cdp_get_wallet_details.GetWalletDetailsInput.html index 8a1d349..59d6f92 100644 --- a/cdp-agentkit-core/variables/actions_cdp_get_wallet_details.GetWalletDetailsInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_get_wallet_details.GetWalletDetailsInput.html @@ -1,3 +1,3 @@ GetWalletDetailsInput | @coinbase/cdp-agentkit-core
    GetWalletDetailsInput: ZodObject<{}, "strip", ZodTypeAny, {}, {}> = ...

    Input schema for get wallet details action. This schema intentionally accepts no parameters as the wallet is injected separately.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_mint_nft.MintNftInput.html b/cdp-agentkit-core/variables/actions_cdp_mint_nft.MintNftInput.html index 614667b..8ad1c7e 100644 --- a/cdp-agentkit-core/variables/actions_cdp_mint_nft.MintNftInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_mint_nft.MintNftInput.html @@ -1,2 +1,2 @@ MintNftInput | @coinbase/cdp-agentkit-core
    MintNftInput: ZodObject<
        { contractAddress: ZodString; destination: ZodString },
        "strip",
        ZodTypeAny,
        { contractAddress: string; destination: string },
        { contractAddress: string; destination: string },
    > = ...

    Input schema for mint NFT action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_register_basename.BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET.html b/cdp-agentkit-core/variables/actions_cdp_register_basename.BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET.html index a3b7246..442155e 100644 --- a/cdp-agentkit-core/variables/actions_cdp_register_basename.BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET.html +++ b/cdp-agentkit-core/variables/actions_cdp_register_basename.BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET.html @@ -1 +1 @@ -BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET | @coinbase/cdp-agentkit-core
    BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET: "0x4cCb0BB02FCABA27e82a56646E81d8c5bC4119a5"
    +BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET | @coinbase/cdp-agentkit-core
    BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET: "0x4cCb0BB02FCABA27e82a56646E81d8c5bC4119a5"
    diff --git a/cdp-agentkit-core/variables/actions_cdp_register_basename.BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET.html b/cdp-agentkit-core/variables/actions_cdp_register_basename.BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET.html index 21d3a7f..055dedb 100644 --- a/cdp-agentkit-core/variables/actions_cdp_register_basename.BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET.html +++ b/cdp-agentkit-core/variables/actions_cdp_register_basename.BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET.html @@ -1 +1 @@ -BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET | @coinbase/cdp-agentkit-core
    BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET: "0x49aE3cC2e3AA768B1e5654f5D3C6002144A59581"
    +BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET | @coinbase/cdp-agentkit-core
    BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET: "0x49aE3cC2e3AA768B1e5654f5D3C6002144A59581"
    diff --git a/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ABI.html b/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ABI.html index d75f0e9..66225c7 100644 --- a/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ABI.html +++ b/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ABI.html @@ -1 +1 @@ -L2_RESOLVER_ABI | @coinbase/cdp-agentkit-core
    L2_RESOLVER_ABI: {
        inputs: { internalType: string; name: string; type: string }[];
        name: string;
        outputs: never[];
        stateMutability: string;
        type: string;
    }[] = ...
    +L2_RESOLVER_ABI | @coinbase/cdp-agentkit-core
    L2_RESOLVER_ABI: {
        inputs: { internalType: string; name: string; type: string }[];
        name: string;
        outputs: never[];
        stateMutability: string;
        type: string;
    }[] = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ADDRESS_MAINNET.html b/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ADDRESS_MAINNET.html index 4c60351..e2a3407 100644 --- a/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ADDRESS_MAINNET.html +++ b/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ADDRESS_MAINNET.html @@ -1 +1 @@ -L2_RESOLVER_ADDRESS_MAINNET | @coinbase/cdp-agentkit-core
    L2_RESOLVER_ADDRESS_MAINNET: "0xC6d566A56A1aFf6508b41f6c90ff131615583BCD"
    +L2_RESOLVER_ADDRESS_MAINNET | @coinbase/cdp-agentkit-core
    L2_RESOLVER_ADDRESS_MAINNET: "0xC6d566A56A1aFf6508b41f6c90ff131615583BCD"
    diff --git a/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ADDRESS_TESTNET.html b/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ADDRESS_TESTNET.html index b68c55b..1493c43 100644 --- a/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ADDRESS_TESTNET.html +++ b/cdp-agentkit-core/variables/actions_cdp_register_basename.L2_RESOLVER_ADDRESS_TESTNET.html @@ -1 +1 @@ -L2_RESOLVER_ADDRESS_TESTNET | @coinbase/cdp-agentkit-core
    L2_RESOLVER_ADDRESS_TESTNET: "0x6533C94869D28fAA8dF77cc63f9e2b2D6Cf77eBA"
    +L2_RESOLVER_ADDRESS_TESTNET | @coinbase/cdp-agentkit-core
    L2_RESOLVER_ADDRESS_TESTNET: "0x6533C94869D28fAA8dF77cc63f9e2b2D6Cf77eBA"
    diff --git a/cdp-agentkit-core/variables/actions_cdp_register_basename.REGISTRAR_ABI.html b/cdp-agentkit-core/variables/actions_cdp_register_basename.REGISTRAR_ABI.html index 135b7db..09ff0f4 100644 --- a/cdp-agentkit-core/variables/actions_cdp_register_basename.REGISTRAR_ABI.html +++ b/cdp-agentkit-core/variables/actions_cdp_register_basename.REGISTRAR_ABI.html @@ -1 +1 @@ -REGISTRAR_ABI | @coinbase/cdp-agentkit-core
    REGISTRAR_ABI: {
        inputs: {
            components: { internalType: string; name: string; type: string }[];
            internalType: string;
            name: string;
            type: string;
        }[];
        name: string;
        outputs: never[];
        stateMutability: string;
        type: string;
    }[] = ...
    +REGISTRAR_ABI | @coinbase/cdp-agentkit-core
    REGISTRAR_ABI: {
        inputs: {
            components: { internalType: string; name: string; type: string }[];
            internalType: string;
            name: string;
            type: string;
        }[];
        name: string;
        outputs: never[];
        stateMutability: string;
        type: string;
    }[] = ...
    diff --git a/cdp-agentkit-core/variables/actions_cdp_register_basename.REGISTRATION_DURATION.html b/cdp-agentkit-core/variables/actions_cdp_register_basename.REGISTRATION_DURATION.html index 44941dc..25c6272 100644 --- a/cdp-agentkit-core/variables/actions_cdp_register_basename.REGISTRATION_DURATION.html +++ b/cdp-agentkit-core/variables/actions_cdp_register_basename.REGISTRATION_DURATION.html @@ -1 +1 @@ -REGISTRATION_DURATION | @coinbase/cdp-agentkit-core
    REGISTRATION_DURATION: "31557600"
    +REGISTRATION_DURATION | @coinbase/cdp-agentkit-core
    REGISTRATION_DURATION: "31557600"
    diff --git a/cdp-agentkit-core/variables/actions_cdp_register_basename.RegisterBasenameInput.html b/cdp-agentkit-core/variables/actions_cdp_register_basename.RegisterBasenameInput.html index e37509c..64d5ade 100644 --- a/cdp-agentkit-core/variables/actions_cdp_register_basename.RegisterBasenameInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_register_basename.RegisterBasenameInput.html @@ -1,2 +1,2 @@ RegisterBasenameInput | @coinbase/cdp-agentkit-core
    RegisterBasenameInput: ZodObject<
        { amount: ZodDefault<ZodString>; basename: ZodString },
        "strip",
        ZodTypeAny,
        { amount: string; basename: string },
        { amount?: string; basename: string },
    > = ...

    Input schema for registering a Basename.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_request_faucet_funds.RequestFaucetFundsInput.html b/cdp-agentkit-core/variables/actions_cdp_request_faucet_funds.RequestFaucetFundsInput.html index 596bf20..56168a5 100644 --- a/cdp-agentkit-core/variables/actions_cdp_request_faucet_funds.RequestFaucetFundsInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_request_faucet_funds.RequestFaucetFundsInput.html @@ -1,2 +1,2 @@ RequestFaucetFundsInput | @coinbase/cdp-agentkit-core
    RequestFaucetFundsInput: ZodObject<
        { assetId: ZodOptional<ZodString> },
        "strip",
        ZodTypeAny,
        { assetId?: string },
        { assetId?: string },
    > = ...

    Input schema for request faucet funds action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_social_twitter.TWITTER_ACTIONS.html b/cdp-agentkit-core/variables/actions_cdp_social_twitter.TWITTER_ACTIONS.html index 1cb2690..2df3d24 100644 --- a/cdp-agentkit-core/variables/actions_cdp_social_twitter.TWITTER_ACTIONS.html +++ b/cdp-agentkit-core/variables/actions_cdp_social_twitter.TWITTER_ACTIONS.html @@ -1,2 +1,2 @@ TWITTER_ACTIONS | @coinbase/cdp-agentkit-core
    TWITTER_ACTIONS: TwitterAction<TwitterActionSchemaAny>[] = ...

    All available Twitter (X) actions.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_social_twitter_account_details.AccountDetailsInput.html b/cdp-agentkit-core/variables/actions_cdp_social_twitter_account_details.AccountDetailsInput.html index 4204da7..df99cde 100644 --- a/cdp-agentkit-core/variables/actions_cdp_social_twitter_account_details.AccountDetailsInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_social_twitter_account_details.AccountDetailsInput.html @@ -1,2 +1,2 @@ AccountDetailsInput | @coinbase/cdp-agentkit-core
    AccountDetailsInput: ZodObject<{}, "strip", ZodTypeAny, {}, {}> = ...

    Input argument schema for the account details action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_social_twitter_account_mentions.AccountMentionsInput.html b/cdp-agentkit-core/variables/actions_cdp_social_twitter_account_mentions.AccountMentionsInput.html index d5fe04c..6377d72 100644 --- a/cdp-agentkit-core/variables/actions_cdp_social_twitter_account_mentions.AccountMentionsInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_social_twitter_account_mentions.AccountMentionsInput.html @@ -1,2 +1,2 @@ AccountMentionsInput | @coinbase/cdp-agentkit-core
    AccountMentionsInput: ZodObject<
        { userId: ZodString },
        "strip",
        ZodTypeAny,
        { userId: string },
        { userId: string },
    > = ...

    Input argument schema for the account mentions action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_social_twitter_post_tweet.PostTweetInput.html b/cdp-agentkit-core/variables/actions_cdp_social_twitter_post_tweet.PostTweetInput.html index 386e287..5cac3c3 100644 --- a/cdp-agentkit-core/variables/actions_cdp_social_twitter_post_tweet.PostTweetInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_social_twitter_post_tweet.PostTweetInput.html @@ -1,2 +1,2 @@ PostTweetInput | @coinbase/cdp-agentkit-core
    PostTweetInput: ZodObject<
        { tweet: ZodString },
        "strip",
        ZodTypeAny,
        { tweet: string },
        { tweet: string },
    > = ...

    Input argument schema for the post tweet action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_social_twitter_post_tweet_reply.PostTweetReplyInput.html b/cdp-agentkit-core/variables/actions_cdp_social_twitter_post_tweet_reply.PostTweetReplyInput.html index 0ea2723..344b303 100644 --- a/cdp-agentkit-core/variables/actions_cdp_social_twitter_post_tweet_reply.PostTweetReplyInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_social_twitter_post_tweet_reply.PostTweetReplyInput.html @@ -1,2 +1,2 @@ PostTweetReplyInput | @coinbase/cdp-agentkit-core
    PostTweetReplyInput: ZodObject<
        { tweetId: ZodString; tweetReply: ZodString },
        "strip",
        ZodTypeAny,
        { tweetId: string; tweetReply: string },
        { tweetId: string; tweetReply: string },
    > = ...

    Input argument schema for the post tweet reply action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_trade.TradeInput.html b/cdp-agentkit-core/variables/actions_cdp_trade.TradeInput.html index 1a053a0..114b150 100644 --- a/cdp-agentkit-core/variables/actions_cdp_trade.TradeInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_trade.TradeInput.html @@ -1,2 +1,2 @@ TradeInput | @coinbase/cdp-agentkit-core
    TradeInput: ZodObject<
        {
            amount: ZodType<Amount, ZodTypeDef, Amount>;
            fromAssetId: ZodString;
            toAssetId: ZodString;
        },
        "strip",
        ZodTypeAny,
        { amount: Amount; fromAssetId: string; toAssetId: string },
        { amount: Amount; fromAssetId: string; toAssetId: string },
    > = ...

    Input schema for trade action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/actions_cdp_transfer.TransferInput.html b/cdp-agentkit-core/variables/actions_cdp_transfer.TransferInput.html index 473072f..d287fe8 100644 --- a/cdp-agentkit-core/variables/actions_cdp_transfer.TransferInput.html +++ b/cdp-agentkit-core/variables/actions_cdp_transfer.TransferInput.html @@ -1,2 +1,2 @@ TransferInput | @coinbase/cdp-agentkit-core
    TransferInput: ZodObject<
        {
            amount: ZodType<Amount, ZodTypeDef, Amount>;
            assetId: ZodString;
            destination: ZodString;
            gasless: ZodDefault<ZodBoolean>;
        },
        "strip",
        ZodTypeAny,
        { amount: Amount; assetId: string; destination: string; gasless: boolean },
        { amount: Amount; assetId: string; destination: string; gasless?: boolean },
    > = ...

    Input schema for transfer action.

    -
    +
    diff --git a/cdp-agentkit-core/variables/twitter_agentkit.TwitterAgentkitOptions.html b/cdp-agentkit-core/variables/twitter_agentkit.TwitterAgentkitOptions.html index a40898b..d7f424c 100644 --- a/cdp-agentkit-core/variables/twitter_agentkit.TwitterAgentkitOptions.html +++ b/cdp-agentkit-core/variables/twitter_agentkit.TwitterAgentkitOptions.html @@ -1,2 +1,2 @@ TwitterAgentkitOptions | @coinbase/cdp-agentkit-core
    TwitterAgentkitOptions: ZodObject<
        {
            accessToken: ZodString;
            accessTokenSecret: ZodString;
            apiKey: ZodString;
            apiSecret: ZodString;
        },
        "strip",
        ZodTypeAny,
        {
            accessToken: string;
            accessTokenSecret: string;
            apiKey: string;
            apiSecret: string;
        },
        {
            accessToken: string;
            accessTokenSecret: string;
            apiKey: string;
            apiSecret: string;
        },
    > = ...

    Schema for the options required to initialize the TwitterAgentkit.

    -
    +
    diff --git a/cdp-langchain/classes/toolkits_cdp_toolkit.CdpToolkit.html b/cdp-langchain/classes/toolkits_cdp_toolkit.CdpToolkit.html index a22bb01..b2c84a6 100644 --- a/cdp-langchain/classes/toolkits_cdp_toolkit.CdpToolkit.html +++ b/cdp-langchain/classes/toolkits_cdp_toolkit.CdpToolkit.html @@ -13,9 +13,9 @@
    const agentkit = await CdpAgentkit.configureWithWallet();
    const toolkit = new CdpToolkit(agentkit);
    const tools = toolkit.getTools();

    // Available tools include:
    // - get_wallet_details
    // - get_balance
    // - request_faucet_funds
    // - transfer
    // - trade
    // - deploy_token
    // - mint_nft
    // - deploy_nft
    // - register_basename
    // - wow_create_token
    // - wow_buy_token
    // - wow_sell_token
    -

    Hierarchy

    Constructors

    Hierarchy

    • BaseToolkit
      • CdpToolkit

    Constructors

    Properties

    Methods

    Constructors

    Properties

    tools: StructuredToolInterface<ZodObjectAny>[]

    Methods

    • Returns StructuredToolInterface<ZodObjectAny>[]

    +

    Returns CdpToolkit

    Properties

    tools: StructuredToolInterface<ZodObjectAny>[]

    Methods

    • Returns StructuredToolInterface<ZodObjectAny>[]

    diff --git a/cdp-langchain/classes/tools_cdp_tool.CdpTool.html b/cdp-langchain/classes/tools_cdp_tool.CdpTool.html index 144fa03..31fb632 100644 --- a/cdp-langchain/classes/tools_cdp_tool.CdpTool.html +++ b/cdp-langchain/classes/tools_cdp_tool.CdpTool.html @@ -3,7 +3,7 @@ CDP_API_KEY_NAME CDP_API_KEY_PRIVATE_KEY NETWORK_ID

    -

    Type Parameters

    Hierarchy

    Constructors

    Type Parameters

    • TActionSchema extends CdpActionSchemaAny

    Hierarchy

    • StructuredTool
      • CdpTool

    Constructors

    Properties

    callbacks? description lc_kwargs @@ -56,9 +56,9 @@

    Constructors

    Properties

    callbacks?: Callbacks
    description: string

    The description of the tool

    -
    lc_kwargs: SerializedFields
    lc_runnable: boolean
    lc_serializable: boolean
    metadata?: Record<string, unknown>
    name: string

    The name of the tool

    -
    responseFormat?: string

    The tool response format.

    +

    Returns CdpTool<TActionSchema>

    Properties

    callbacks?: Callbacks
    description: string

    The description of the tool

    +
    lc_kwargs: SerializedFields
    lc_runnable: boolean
    lc_serializable: boolean
    metadata?: Record<string, unknown>
    name: string

    The name of the tool

    +
    responseFormat?: string

    The tool response format.

    If "content" then the output of the tool is interpreted as the contents of a ToolMessage. If "content_and_artifact" then the output is expected to be a two-tuple corresponding to the (content, artifact) of a ToolMessage.

    @@ -66,7 +66,7 @@
    returnDirect: boolean

    Schema definition for the tool's input

    -
    tags?: string[]
    verbose: boolean

    Whether to print out response text.

    +
    tags?: string[]
    verbose: boolean

    Whether to print out response text.

    verboseParsingErrors: boolean

    Accessors

    • get lc_aliases(): undefined | { [key: string]: string }
    • A map of aliases for constructor args. Keys are the attribute names, e.g. "foo". Values are the alias that will replace the key in serialization. @@ -90,7 +90,7 @@

      Parameters

      • input: TypeOf<TActionSchema> & Record<string, unknown>

        An object containing either instructions or schema-validated arguments

      Returns Promise<string>

      A promise that resolves to the result of the CDP action

      If the CDP action fails

      -
    • Type Parameters

      • T extends string | ToolCall | { [key: string]: any }

      Parameters

      • func:
            | (input: T) => Promise<any>
            | (
                input: T,
                config?: Partial<RunnableConfig<Record<string, any>>>,
                runManager?: CallbackManagerForChainRun,
            ) => Promise<any>
      • input: T
      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>> & { runType?: string }

      Returns Promise<any>

    • Type Parameters

      • O extends RunnableConfig<Record<string, any>> & { runType?: string }

      Parameters

      • options: Partial<O> | Partial<O>[]
      • Optionallength: number

      Returns Partial<O>[]

    • Parameters

      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>>

      Returns [
          RunnableConfig<Record<string, any>>,
          Omit<
              Partial<RunnableConfig<Record<string, any>>>,
              keyof RunnableConfig<Record<string, any>>,
          >,
      ]

    • Default streaming implementation. +

    • Type Parameters

      • T extends string | ToolCall | { [key: string]: any }

      Parameters

      • func:
            | (input: T) => Promise<any>
            | (
                input: T,
                config?: Partial<RunnableConfig<Record<string, any>>>,
                runManager?: CallbackManagerForChainRun,
            ) => Promise<any>
      • input: T
      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>> & { runType?: string }

      Returns Promise<any>

    • Type Parameters

      • O extends RunnableConfig<Record<string, any>> & { runType?: string }

      Parameters

      • options: Partial<O> | Partial<O>[]
      • Optionallength: number

      Returns Partial<O>[]

    • Parameters

      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>>

      Returns [
          RunnableConfig<Record<string, any>>,
          Omit<
              Partial<RunnableConfig<Record<string, any>>>,
              keyof RunnableConfig<Record<string, any>>,
          >,
      ]

    • Default streaming implementation. Subclasses should override this method if they support streaming output.

      Parameters

      • input: string | ToolCall | { [key: string]: any }
      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>>

      Returns AsyncGenerator<any, any, any>

    • Parameters

      • input: string | ToolCall | { [key: string]: any }
      • logStreamCallbackHandler: LogStreamCallbackHandler
      • config: Partial<RunnableConfig<Record<string, any>>>

      Returns AsyncGenerator<RunLogPatch, any, any>

    • Helper method to transform an Iterator of Input values into an Iterator of Output values, with callbacks. diff --git a/twitter-langchain/classes/twitter_tool.TwitterTool.html b/twitter-langchain/classes/twitter_tool.TwitterTool.html index e2f7509..6fc4ffc 100644 --- a/twitter-langchain/classes/twitter_tool.TwitterTool.html +++ b/twitter-langchain/classes/twitter_tool.TwitterTool.html @@ -7,7 +7,7 @@

    • TWITTER_ACCESS_TOKEN_SECRET
    • TWITTER_BEARER_TOKEN
    -

    Type Parameters

    • TActionSchema extends TwitterActionSchemaAny

    Hierarchy

    • StructuredTool
      • TwitterTool

    Constructors

    Type Parameters

    • TActionSchema extends TwitterActionSchemaAny

    Hierarchy

    • StructuredTool
      • TwitterTool

    Constructors

    Properties

    callbacks? description lc_kwargs @@ -60,9 +60,9 @@

    Constructors

    Properties

    callbacks?: Callbacks
    description: string

    The description of the tool.

    -
    lc_kwargs: SerializedFields
    lc_runnable: boolean
    lc_serializable: boolean
    metadata?: Record<string, unknown>
    name: string

    The name of the tool.

    -
    responseFormat?: string

    The tool response format.

    +

    Returns TwitterTool<TActionSchema>

    Properties

    callbacks?: Callbacks
    description: string

    The description of the tool.

    +
    lc_kwargs: SerializedFields
    lc_runnable: boolean
    lc_serializable: boolean
    metadata?: Record<string, unknown>
    name: string

    The name of the tool.

    +
    responseFormat?: string

    The tool response format.

    If "content" then the output of the tool is interpreted as the contents of a ToolMessage. If "content_and_artifact" then the output is expected to be a two-tuple corresponding to the (content, artifact) of a ToolMessage.

    @@ -70,7 +70,7 @@
    returnDirect: boolean

    Schema definition for the tool's input.

    -
    tags?: string[]
    verbose: boolean

    Whether to print out response text.

    +
    tags?: string[]
    verbose: boolean

    Whether to print out response text.

    verboseParsingErrors: boolean

    Accessors

    • get lc_aliases(): undefined | { [key: string]: string }
    • A map of aliases for constructor args. Keys are the attribute names, e.g. "foo". Values are the alias that will replace the key in serialization. @@ -93,7 +93,7 @@

    • Executes the Twitter (X) action with the provided input.

      Parameters

      • input: TypeOf<TActionSchema> & Record<string, unknown>

        An object containing either instructions or schema-validated arguments.

      Returns Promise<string>

      A promise that resolves to the result of the Twitter (X) action.

      -
    • Type Parameters

      • T extends string | ToolCall | { [key: string]: any }

      Parameters

      • func:
            | (input: T) => Promise<any>
            | (
                input: T,
                config?: Partial<RunnableConfig<Record<string, any>>>,
                runManager?: CallbackManagerForChainRun,
            ) => Promise<any>
      • input: T
      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>> & { runType?: string }

      Returns Promise<any>

    • Type Parameters

      • O extends RunnableConfig<Record<string, any>> & { runType?: string }

      Parameters

      • options: Partial<O> | Partial<O>[]
      • Optionallength: number

      Returns Partial<O>[]

    • Parameters

      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>>

      Returns [
          RunnableConfig<Record<string, any>>,
          Omit<
              Partial<RunnableConfig<Record<string, any>>>,
              keyof RunnableConfig<Record<string, any>>,
          >,
      ]

    • Default streaming implementation. +

    • Type Parameters

      • T extends string | ToolCall | { [key: string]: any }

      Parameters

      • func:
            | (input: T) => Promise<any>
            | (
                input: T,
                config?: Partial<RunnableConfig<Record<string, any>>>,
                runManager?: CallbackManagerForChainRun,
            ) => Promise<any>
      • input: T
      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>> & { runType?: string }

      Returns Promise<any>

    • Type Parameters

      • O extends RunnableConfig<Record<string, any>> & { runType?: string }

      Parameters

      • options: Partial<O> | Partial<O>[]
      • Optionallength: number

      Returns Partial<O>[]

    • Parameters

      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>>

      Returns [
          RunnableConfig<Record<string, any>>,
          Omit<
              Partial<RunnableConfig<Record<string, any>>>,
              keyof RunnableConfig<Record<string, any>>,
          >,
      ]

    • Default streaming implementation. Subclasses should override this method if they support streaming output.

      Parameters

      • input: string | ToolCall | { [key: string]: any }
      • Optionaloptions: Partial<RunnableConfig<Record<string, any>>>

      Returns AsyncGenerator<any, any, any>

    • Parameters

      • input: string | ToolCall | { [key: string]: any }
      • logStreamCallbackHandler: LogStreamCallbackHandler
      • config: Partial<RunnableConfig<Record<string, any>>>

      Returns AsyncGenerator<RunLogPatch, any, any>

    • Helper method to transform an Iterator of Input values into an Iterator of Output values, with callbacks. diff --git a/twitter-langchain/classes/twitter_toolkit.TwitterToolkit.html b/twitter-langchain/classes/twitter_toolkit.TwitterToolkit.html index e319c8d..9be8a11 100644 --- a/twitter-langchain/classes/twitter_toolkit.TwitterToolkit.html +++ b/twitter-langchain/classes/twitter_toolkit.TwitterToolkit.html @@ -14,9 +14,9 @@

      // optional if not available via the ENV
      const options = {
      apiKey: "<your-api-key>",
      apiSecret: "<your-api-secret>",
      accessToken: "<your-access-token>",
      accessTokenSecret: "<your-access-token-secret>",
      };

      const agentkit = await TwitterAgentkit.configureWithOptions(options);
      const toolkit = new TwitterToolkit(agentkit);
      const tools = toolkit.getTools();

      // Available tools include:
      // - account_details
      // - account_mentions
      // - post_tweet
      // - post_tweet_reply
      -

    Hierarchy

    • BaseToolkit
      • TwitterToolkit

    Constructors

    Hierarchy

    • BaseToolkit
      • TwitterToolkit

    Constructors

    Properties

    Methods

    Constructors

    Properties

    tools: StructuredToolInterface<ZodObjectAny>[]

    Methods

    • Returns StructuredToolInterface<ZodObjectAny>[]

    +

    Returns TwitterToolkit

    Properties

    tools: StructuredToolInterface<ZodObjectAny>[]

    Methods

    • Returns StructuredToolInterface<ZodObjectAny>[]